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

2005-06-18 Thread Raymond Hettinger
> [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]) [Me] > This approach is entirely too obvious. If

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

2005-06-18 Thread Raymond Hettinger
[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 th