Re: Python had a little lambda ...

Bennett Todd (bet@std.sbi.com)
Wed, 23 Feb 1994 21:49:26 -0500 (EST)

Steven D. Majewski writes:
>[a pleasant simple explanation of Python's lambda]

Can this lambda support multi-line expressions? If not, is there any hope of
getting one that can?

The one thing I've found that TCL is __REALLY__ good at, that no other
language I've found matches, is extensions that have lots of callbacks.
TCL's syntax exposes the view that an extension like expect, or the widgets
of Tk, are nonlinear flow-of-control constructs.

If Python had multi-line function call argument lists, where the arguments
could be multi-line lambdas, I think it would achieve the same clarity. I
think.

-Bennett
bet@sbi.com