PEP 312 - Making lambdas implicit worries me, surely it's just the name 'lambda' that is bad...
a.schmolck at gmx.net
Mon Mar 3 00:16:53 CET 2003
Stephen Horne <intentionally at blank.co.uk> writes:
> Actually, I've always thought that having separate 'def' and 'lambda'
> syntaxes is a bit redundant. In lisp (and a few others) you'd use the
> 'lambda' form to do both jobs, rather like (in current Python)
> sum = lambda a, b : a + b
Not true, I think. Apart from scheme (which's lispness is often disputed in
both lisp and scheme circles).
More information about the Python-list