Ruby-style "each" in D?

Dicebot public at dicebot.lv
Fri Mar 21 06:24:48 PDT 2014


On Friday, 21 March 2014 at 12:55:09 UTC, Jacob Carlborg wrote:
> What's the purpose of "tee", is it the same as "tap"? "tap" in 
> Ruby just returns the receiver after executing a block. This 
> would be the implementation in D:

Yeah "tee" is a horrible name, no chance I would have guess what 
it means just by the name. "tap" is much better.


More information about the Digitalmars-d mailing list