(Almost) everything is expression
Neil Eades
neil.eades.at.work at gmail.com
Fri Nov 11 07:39:37 PST 2011
On 11 November 2011 15:33, Mark S. Miller <erights at google.com> wrote:
> Insist on enclosing parens, since
> "(" introductory-token
> is not otherwise legal
>
> let a = ({
>>
>> print('doing stuff');
>> 100;
>> });
>>
>
> Even the last is now easily unambiguous.
>
>
And is this not clearer than
let a = {||
print('doing stuff');
100;
};
--
Neil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20111111/21802a81/attachment.html>
More information about the es-discuss
mailing list