[Issue 4705] Redesign of std.algorithm.max()/min() + mins()/maxs()

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon May 23 16:20:39 PDT 2011


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



--- Comment #11 from bearophile_hugs at eml.cc 2011-05-23 16:16:25 PDT ---
(In reply to comment #10)

> (Maybe I'd like an annotation to tell the compiler that "data" is an an Input
> Range, unlike iota() that map is iterating on.)

This bug doesn't happen if the mapping function of map() is pure.

-- 
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