Looks good. Not sure if the different rules for the body aren’t confusing.

On Mar 27, 2012, at 21:43 , Brendan Eich wrote:

> http://wiki.ecmascript.org/doku.php?id=strawman:arrow_function_syntax
> 
> Use => only with an expression body (do-expressions if accepted allow 
> statements and combined with => compete with block-lambdas).
> 
> Use -> only with body block, as for long-form function.
> 
> I deferred other accretions.
> 
> In a rush here, comments and corrections welcome and I'll edit as I can.
> 
> /be
> _______________________________________________
> es-discuss mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/es-discuss
> 

-- 
Dr. Axel Rauschmayer
[email protected]

home: rauschma.de
twitter: twitter.com/rauschma
blog: 2ality.com

_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to