Fate of lambda, Functional Programming in Python...

Peter Kleiweg in.aqua.scribis at nl.invalid
Fri Aug 20 21:12:15 CEST 2004


Christopher A. Craig schreef:

> Nobody is talking about removing the ability to pass functions, just
> the actual "lambda" form.
>
> You can still build a GUI by doing
>
> def spam(stuff):
>   def eggs(parrot):
>     return 5+parrot
>   return eggs
>
> You just can't do
>
> def spam(stuff):
>   return lambda foo: 5+parrot

What a silly idea to remove a much used core feature from a
language.

-- 
Peter Kleiweg  L:NL,af,da,de,en,ia,nds,no,sv,(fr,it)  S:NL,de,en,(da,ia)
info: http://www.let.rug.nl/~kleiweg/ls.html




More information about the Python-list mailing list