Allen's lambda syntax proposal

David-Sarah Hopwood david.hopwood at industrial-designers.co.uk
Wed Dec 3 01:04:14 PST 2008


Eric Suen wrote:
> I really don't think prefix is neccessary, what about:
> 
> (a;b;c) {...}
> 
> or
> 
> (a:b:c) {...}

Not compatible:

  (a)
  {...}

A semicolon would be inserted after "(a)" in ES3, and adding the
above construct would change that.

Besides, prefixes are good: they allow a human reader to see
precisely what construct is coming next when reading strictly
left-to-right, without having to look ahead.

-- 
David-Sarah Hopwood


More information about the Es-discuss mailing list