Python syntax in Lisp and Scheme
Jock Cooper
jockc at mail.com
Tue Oct 14 18:43:58 EDT 2003
"Terry Reedy" <tjreedy at udel.edu> writes:
> The default-parameter hack which substituted for closures made lambdas
> then more awkward, but I believe they were mostly just as useful as
> today as callbacks and as HOF args. In any case, closures were
> introduced over two years ago in 2.1, and your original statement says
> 'is', not 'used to be some years ago'.
Isn't it true though that the lambda can only contain a single expression
and no statements? That seems to limit closures somewhat.
More information about the Python-list
mailing list