Ruby-style "each" in D?

bearophile bearophileHUGS at lycos.com
Fri Mar 21 06:29:37 PDT 2014


Vladimir Panteleev:

> Dicebot:
>> Yeah "tee" is a horrible name, no chance I would have guess 
>> what it means just by the name. "tap" is much better.
>
> I think it's meant to mimic the UNIX command with the same 
> name? If you know about the command, the function's purpose 
> seems obvious.

See also the Python function tee():
http://docs.python.org/2/library/itertools.html#itertools.tee

Bye,
bearophile


More information about the Digitalmars-d mailing list