Allen's lambda syntax proposal
Jon Zeppieri
jaz at bu.edu
Wed Dec 3 08:29:38 PST 2008
2008/12/2 Brendan Eich <brendan at mozilla.com>:
> I think the only candidates have to be of the form
> ^(a, b, c) {...}
> (^ could be another character, but it seems to beat \ as others have noted),
Was there a problem with \ other than the fact that it can't easily be
turned into a binding form, à la
\userFn() {...}
... due to the \u ambiguity? Because the Smalltalk-like syntax
doesn't have an obvious binding form either.
{ userFn |a, b, c| ... }
is potentially already valid ES3, depending on the contents of '...' .
-Jon
More information about the Es-discuss
mailing list