reduce -> fold?
Luís Marques via Digitalmars-d
digitalmars-d at puremagic.com
Fri Jan 29 05:11:34 PST 2016
On Friday, 29 January 2016 at 12:08:01 UTC, Andrei Alexandrescu
wrote:
> So the next best solution is to introduce a new name such as
> the popular "fold", and put them together in the documentation.
Just to bikeshed a little, I remember that when I first started
using std.algorithm I was ctrl-F'ing for "accumulate" and not
finding it quite often. D competes with C++ directly, so do
consider that name :-)
More information about the Digitalmars-d
mailing list