Consume an entire range
Brad Anderson
eco at gnuk.net
Wed May 29 20:53:02 PDT 2013
On Thursday, 30 May 2013 at 03:50:52 UTC, Brad Anderson wrote:
> Is there a simple way to consume a range apart from
> std.array.array? I don't need to result of the range stored in
> an array, I just need a lazy map to evaluate completely.
Obviously I could just popFront. To be more clear, I want
something like eat() or consume() or exhaust() that I can tack on
the end of my chained algorithm calls.
More information about the Digitalmars-d-learn
mailing list