Expression closures - use-cases for shortcut lambda syntax(blocks)

Chris Double chris.double at
Wed Mar 21 16:55:32 PDT 2007

On 3/22/07, P T Withington <ptw at> wrote:
> Another solution would be to add macros to the language, so that the
> try/finally version was cleaner.

Having a lightweight closure syntax reduces the need for many with-*
style macros. This is how Smalltalk manages to have a lot of nice
looking additions to the language by using their lightweight blocks.
There was a discussion a while back on ll1-discuss about it:

I wrote a parser combinator library in Javascript and the noise of
'function' did get in the way a bit when dealing with on-the-fly
constructed parsers.


More information about the Es4-discuss mailing list