[Issue 10670] std.algorithm.reduce: no-seed initialization wrong design
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Jul 22 23:25:18 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10670
--- Comment #6 from bearophile_hugs at eml.cc 2013-07-22 23:25:14 PDT ---
(In reply to comment #5)
> I've tried in http://d.puremagic.com/issues/show_bug.cgi?id=8755, but the
> conclusion is that it is not possible without breaking code. And when I say
> "breaking code", I mean "still compiles but silently generates different
> results". That, and no migration plan was found. Short of finding a new name
> for a new function, I have not been able to achieve this goad.
I understand. I suggest to introduce a new function named like your "fold" and
slowly deprecate "reduce".
--
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