arrow function syntax simplified

Brendan Eich brendan at
Tue Mar 27 12:43:52 PDT 2012

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.


More information about the es-discuss mailing list