zipWith or map

Gecko via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Jul 1 11:07:37 PDT 2014


On Tuesday, 1 July 2014 at 17:51:17 UTC, Justin Whear wrote:

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

Thank you,
I couldnt figure out what std.range.zip makes from the 
documentation.

something else : is there a scanl like in haskell (like reduce 
but returning the intermediate results as well).



More information about the Digitalmars-d-learn mailing list