http://d.puremagic.com/issues/show_bug.cgi?id=9674



--- Comment #6 from [email protected] 2013-03-09 16:35:29 PST ---
(In reply to comment #4 and #5)

> The code depends on front of the source range being consistent across calls.

front() is not tagged with "pure", so you can't depend on that.


> (If that is not what is wanted, a lot of caching would have to be introduced
into most std.algorithm/std.range ranges.)

Otherwise I think the "pure" attribute needs be added in many of those Phobos
places.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to