reduce -> fold?
Ola Fosheim Grøstad via Digitalmars-d
digitalmars-d at puremagic.com
Fri Jan 29 15:45:04 PST 2016
On Friday, 29 January 2016 at 23:20:38 UTC, Walter Bright wrote:
> 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.
So D is adding currying and builtin tuples? :^)
More information about the Digitalmars-d
mailing list