reduce -> fold?

bachmeier via Digitalmars-d digitalmars-d at puremagic.com
Sat Jan 30 10:10:08 PST 2016


On Saturday, 30 January 2016 at 17:40:38 UTC, Andrei Alexandrescu 
wrote:
> On 1/30/16 12:25 PM, Xinok wrote:

>
> I forgot the distinction between currying and partial 
> application. Can we also define currying in current D? -- Andrei

I'm sure others can give an informed answer on the distinction, 
but a curried function takes only one argument, and I am unaware 
of a practical reason to add currying to D if we already have 
partial application.


More information about the Digitalmars-d mailing list