Allen's lambda syntax proposal

Brendan Eich brendan at mozilla.com
Wed Dec 3 18:30:15 PST 2008


On Dec 3, 2008, at 6:18 PM, Maciej Stachowiak wrote:

> x = x
> +x

That is equivalent to

x = x + x;

so the case with ^ should not differ. (Were you testing in an  
interactive REPL?)

That the case Peter showed:

x = x
^(){}

cannot be parsed as a bitwise-xor expression doesn't help in general,  
if we do not want to mandate bottom-up parsing (we don't).

/be
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20081203/80183795/attachment.html>


More information about the Es-discuss mailing list