[Python-Dev] Let's just keep lambda (original) (raw)
Michael Hudson mwh at python.net
Thu Feb 9 01🔞28 CET 2006
- Previous message: [Python-Dev] Let's just *keep* lambda
- Next message: [Python-Dev] Let's send lambda to the shearing shed (Re: Let's just *keep* lambda)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Guido van Rossum <guido at python.org> writes:
On 2/8/06, Patrick Collison <patrick at collison.ie> wrote:
And to think that people thought that keeping "lambda", but changing the name, would avoid all the heated discussion... :-) Note that I'm not participating in any attempts to "improve" lambda. Just about the only improvement I'd like to see is to add parentheses around the arguments, so you'd write lambda(x, y): x**y instead of lambda x, y: x**y.
That would seem to be a bad idea, as it means something already:
f = lambda (x,y): x + y t = (1,2) f(t) 3
Cheers, mwh
-- Solaris: Shire horse that dreams of being a race horse, blissfully unaware that its owners don't quite know whether to put it out to grass, to stud, or to the knackers yard. -- Jim's pedigree of operating systems, asr
- Previous message: [Python-Dev] Let's just *keep* lambda
- Next message: [Python-Dev] Let's send lambda to the shearing shed (Re: Let's just *keep* lambda)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]