reduce -> fold?
Walter Bright via Digitalmars-d
digitalmars-d at puremagic.com
Fri Jan 29 15:20:38 PST 2016
On 1/29/2016 5:11 AM, Luís Marques wrote:
> 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 :-)
For algorithms and FP in general, we may be better off drawing inspiration from
Haskell, as C++ does not have FP in its DNA.
More information about the Digitalmars-d
mailing list