Next | Functional Programming in Perl | 18 |
Python has something called lambda
But it's not real lambda
Its body is only a single expression
This sounds OK if you're thinking of ML
But it's not OK
In ML, if is an expression
In Python, it isn't
Next | Copyright 2005 M. J. Dominus |