News for hackers. Stuff that matters.
Re:Currying in Python by kbd on Monday March 19, 2012 @10:08AM (#3723968)
I'm glad he made the correct distinction between partial application and currying. The article is worth it for his helpful explanation of the two alone.

Though, it's slightly off on the initial presentation of currying. Currying is the act of transforming a function that takes multiple arguments into a function that returns a function that takes n-1 arguments, and so on, not an "incremental binding of function arguments".

Re:Currying in Python by Drbble on Monday March 19, 2012 @10:25AM (#3724036)
I don't see a meaningful difference in the cases in your last paragraph. Seems like an implementation detail.

The issue of whether the caller has to explicitly call "partial" seems to be the meaningful distinction.

Re:Currying in Python by wildanimal on Monday March 19, 2012 @11:46AM (#3724430)
The original statement could be interpreted in this way: the former operation 'returns a function' and in the latter, it 'bind[s] [...] arguments' - suggesting a form of destructive updating of the original function. But I agree with you that in this context, since both return functions it's an implementation detail.