PEP 312 - Making lambdas implicit worries me, surely it's just the name 'lambda' that is bad...

Greg Ewing (using news.cis.dfn.de) me at privacy.net
Mon Mar 10 19:42:54 EST 2003


Andrew Koenig wrote:
> For that reason, although I wouldn't mind having a more compact way of
> writing lambda-expressions, I don't think that the colon syntax is
> the best way to do it.

How about

    (a, b) -> expr

-- 
Greg Ewing, Computer Science Dept,
University of Canterbury,	
Christchurch, New Zealand
http://www.cosc.canterbury.ac.nz/~greg





More information about the Python-list mailing list