A pass() identity range?

H. S. Teoh hsteoh at quickfur.ath.cx
Wed Jan 2 10:47:23 PST 2013


On Wed, Jan 02, 2013 at 07:19:31PM +0100, bearophile wrote:
> H. S. Teoh:
[...]
> >but I thought tee() might be a better name.
> 
> Python programmers have this "tee":
> 
> http://docs.python.org/3/library/itertools.html#itertools.tee
[...]

Hmm. But isn't that just the same as repeatedly calling .save with D's
forward ranges?


T

-- 
If you want to solve a problem, you need to address its root cause, not
just its symptoms. Otherwise it's like treating cancer with Tylenol...


More information about the Digitalmars-d-learn mailing list