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

P T Withington ptw at pobox.com
Wed Mar 21 19:36:23 PDT 2007


Hey Chris, you throw Bachrach, Weinreb, and Graham at me, I have to  
cry uncle!

On 2007-03-21, at 19:55 EDT, Chris Double wrote:

> On 3/22/07, P T Withington <ptw at pobox.com> 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:
>
> http://people.csail.mit.edu/gregs/ll1-discuss-archive-html/ 
> msg02060.html
>
> 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.
>
> Chris.
> -- 
> http://www.bluishcoder.co.nz
> _______________________________________________
> Es4-discuss mailing list
> Es4-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es4-discuss




More information about the Es4-discuss mailing list