Simo Melenius wrote:
Now, if lambda was more than an expr, dumping "lambda" keyword would
be a convenient idea -- unnecessary keywords can make the language
less clear in some cases. One could do with Python's plain and simple
"def", like this:

filter (def (x): x*2, myseq)

(Disclaimer: Without thinking further I'm not sure whether the above
syntax would be unique enough, Python grammar-wise.)

If you'd like to think further about it, check the archves -- there's about a million different arguments about this. A recent brief one (2 days ago):


http://mail.python.org/pipermail/python-list/2004-December/255728.html

Steve
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to