PEP 309 - Built-in closure type (with tentative syntax proposal)

Anders J. Munch andersjm at
Tue Feb 18 15:33:37 CET 2003

"Peter Harris" <scav at> 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