[Python-Dev] Recommend accepting PEP 312 -- SimpleImplicit Lambda

Raymond Hettinger python at rcn.com
Sun Jun 19 04:09:24 CEST 2005


[Donovan Baarda]
> As I see it, a lambda is an anonymous function. An anonymous function
is
> a function without a name. We already have a syntax for a function...
> why not use it. ie:
> 
>   f = filter(def (a): return a > 1, [1,2,3])

This approach is entirely too obvious.  If we want to be on the leading
edge, we can't be copying what was done years ago in Lua. ;-)


Raymond


More information about the Python-Dev mailing list