On Oct 31, 2011, at 10:04 AM, Jorge wrote:

> On 31/10/2011, at 08:57, Brendan Eich wrote:
>> On Oct 31, 2011, at 12:20 AM, Jorge wrote:
>>> 
>>> 
>>> Perhaps a long arrow may work ?
>>> 
>>> let object= base <== {a: 1, b: 2};
>> 
>> Does not overcome the grawlix objection.
> 
> 
> Hmm, it's grawlix-y too but... how about 
> 
> let object= base :: {a: 1, b: 2};
> 
> ?

No, that's wanted for wiki.ecmascript.org/doku.php?id=strawman:guards -- 
precedent from Haskell and other languages, and the single-colon from ES4 
doesn't mix well with object literals.

Grawlix is the general problem, not the solution.

/be
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to