arrow function syntax simplified

Luke Hoban lukeh at
Tue Mar 27 16:46:14 PDT 2012

> >Luke Hoban wrote:
> > The do expressions serve a separate purpose of changing the meaning of return (but not break and continue)
> Dave proposed at
> that do expressions be fully TCP compliant. No way to be half-pregnant :-/.

True - I misspoke there.  The concern related to break and continue I had in mind was separate from what I noted - it is the issues raised at  

But my primary point was just that in Rick's examples, there doesn't appear to be any reliance on TCP at all.  Had => supported blocks on the RHS as in the original arrow proposal, all the code samples would be simpler, simply removing the 'do'.  I believe this will generally be true too.  


More information about the es-discuss mailing list