PEP 309 - Built-in closure type (with tentative syntax proposal)
Anders J. Munch
andersjm at dancontrol.dk
Tue Feb 18 09:33:37 EST 2003
"Peter Harris" <scav at blueyonder.co.uk> wrote:
> Curried functions are a bit like list comprehensions in that a
> beginner won't immediately see the point, but once you find out
> what they are good for, you wonder how you did without them.
Not necessarily. Currying is abstract, and programming is easier in
the concrete.
lambda x: f(y, x)
can be understood by example, by imagining what happens for different
values of x, unlike
curry(f, y)
- Anders
More information about the Python-list
mailing list