Allen's lambda syntax proposal

Michael Day mikeday at yeslogic.com
Thu Dec 4 19:09:13 PST 2008


Hi Brendan,

> Please read
> 
> http://wiki.ecmascript.org/doku.php?id=strawman:lambdas

There is a lot of discussion over whether it is necessary to introduce 
syntax sugar instead of a "lambda" keyword, but is there any remaining 
controversy over the semantics of lambdas in JavaScript, or is that 
considered settled at this point?

(To throw some more kerosene on the syntax fire, I would point out that 
"fun" for function nicely resembles "var" for variable:

     var x = fun y z => y + z;

but it's not big deal :)

Best regards,

Michael

-- 
Print XML with Prince!
http://www.princexml.com


More information about the Es-discuss mailing list