[Python-Dev] thunks
Gerald S. Williams
gsw@agere.com
Tue, 4 Feb 2003 13:02:16 -0500
Guido van Rossum wrote:
> [<variable> =] <expression>:
> <block>
...
> [<variable> =] <expression> lambda:
> <block>
...
> [<variable> =] <expression> lambda <arguments>:
> <block>
...
> [<variable> =] <expression> lambda:
> <block>
> and <expression> lambda:
> <block>
> ...
Can this be extended to allow multiple expressions
to act on the thunk? That capability was in some of
the earlier proposals. I suppose you could allow a
list of expressions, multiple expressions separated
by white space, or something similar.
-Jerry