[Issue 5691] walkLength() compatible with opApply()
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Mar 3 14:40:56 PST 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5691
--- Comment #2 from bearophile_hugs at eml.cc 2011-03-03 14:38:02 PST ---
Then do you want to add another function to Phobos to count the items of a lazy
range created by opApply? Or to do that do you want me to use a wasteful
array(Iter(10)).length (or a foreach loop)?
Phobos and walkLength() need to become a bit more flexible.
If things in std.range are meant to work on ranges only, then I suggest to move
the improved walkLength() to std.algorithm.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list