reduce -> fold?
Adrian Matoga via Digitalmars-d
digitalmars-d at puremagic.com
Fri Jan 29 04:17:19 PST 2016
On Friday, 29 January 2016 at 12:08:01 UTC, Andrei Alexandrescu
> As has been discussed before there's been discussion about
> std.algorithm.reduce taking the "wrong" order of arguments (its
> definition predates UFCS). I recall the conclusion was there'd
> be subtle ambiguities if we worked reduce to implement both
> So the next best solution is to introduce a new name such as
> the popular "fold", and put them together in the documentation.
There was a topic on this  and some implementation proposed.
I'm not sure if it was the only one.
More information about the Digitalmars-d