Posted Sep 7, 2006 14:26 UTC (Thu) by Wummel (subscriber, #7591)
[Link]
Yes, partial() implements currying. Currying was possible before with the lambda operator, but partial() also allows keyword arguments, plus not all like the lambda operator in Python :)
See also PEP 309.
Various notes, all about Python
Posted Sep 7, 2006 14:59 UTC (Thu) by fwenzel (guest, #33783)
[Link]
Ah, thanks a bunch for the link :)
Various notes, all about Python
Posted Sep 7, 2006 16:23 UTC (Thu) by AJWM (guest, #15888)
[Link]
> Currying was possible before with the lambda operator,
Making a nice lamb curry, no doubt.
(Sorry, that was bad, but it's almost lunchtime...)