zipWith or map

Justin Whear via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Jul 1 10:51:17 PDT 2014


On Tue, 01 Jul 2014 17:49:53 +0000, Gecko wrote:

> Hello,
> is there a fancy way do a zipWith (map with multiple ranges). There is
> no in std.algorithm, or does it have a different name?

There is a zip function in std.range.  It produces a range of tuples that 
you can then map over.


More information about the Digitalmars-d-learn mailing list