Ruby-style "each" in D?

Dicebot public at dicebot.lv
Wed Mar 19 09:09:29 PDT 2014


On Wednesday, 19 March 2014 at 16:04:16 UTC, Andrei Alexandrescu 
wrote:
> tee is already being discussed -- Andrei

On this topic, do we have something like "consume" in Phobos to 
eagerly iterate through the supplied range? Don't see anything 
similar at first glance and it will be needed to express same 
idiom via "tap"/"tee" in a readable form.


More information about the Digitalmars-d mailing list