feature request: N-ary map

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Fri Jun 21 15:55:08 PDT 2013


On 6/21/13 3:45 PM, Timothee Cour wrote:
> I'd like to support N-ary map, ie std.algorithm.map that takes 1 or more
> ranges as arguments and operates lazily on those.

Actually map used to do that in its early days. Then I figured composing 
with chain() is even better.

chain(r1, r2, r3).map...

Andrei




More information about the Digitalmars-d mailing list