Allen's lambda syntax proposal

Sam Ruby rubys at
Wed Dec 3 16:06:21 PST 2008

2008/11/30 Brendan Eich <brendan at>:
> At the TC39 meeting two weeks ago in Kona, we had a brief bikeshedding
> discussion about lambda syntax and why it matters.

Has anybody given any thought to the C# (ECMA TC49) syntax?

(input parameters) => {statement;}

where the parens are optional if there is only one parameter, and the
braces are optional if the statement is a simple expression.  Example:

(a,b) => a+b

More specifics here:

- Sam Ruby

More information about the Es-discuss mailing list