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

P T Withington ptw at pobox.com
Mon Mar 19 13:35:44 PDT 2007


On 2007-03-19, at 15:01 EDT, Jeff Dyer wrote:

> * drop the convenience altogether (sorry Brendan & Lars)
> * keep the convenience in declaration contexts only
> * keep the convenience in both contexts and have more than two ways
>   to write function expressions

* make 'function' required for declarations, optional for  
expressions, require '=>' for both

('function' identifier?)? '(' formals? ')' '=>' expression





More information about the Es4-discuss mailing list