Matt Soucy:

So, in the next release std.functional.curry has been renamed to std.functional.partial:

https://github.com/D-Programming-Language/phobos/pull/1979

Oh, good. (And the "sigh" by Andrei is cute).


I was starting to work on a proper curry replacement,

Is its syntax usage similar to the one I've shown for Python?

func(1, 2, 3)
func(1, 2)(3)
func(1)(2, 3)
func(1)(2)(3)

Is it a good idea to also mix in the function composition operator overloading?

Bye,
bearophile

Reply via email to