Allen's lambda syntax proposal

Breton Slivka zen at
Mon Dec 1 16:38:23 PST 2008

> Is recursion still desirable in this form. If so, then of the three I like
>    \(a,b,c) {}
> because you can think of the \ as being an abbreviation of function.
>    \ name(a,b,c) {}
> Just don't start your function name with u.

well if we're thinking about lambdas as blocks++, then why not

name: {|a,b,c|  }

Since we already have labeled blocks. This also slides neatly into an
object literal

  name: {|a,b,c| }

Or does this horribly break parsing again?

More information about the Es-discuss mailing list