On 06/01/11 18:47, Breton Slivka wrote:

Yes, if you make it mandatory to parenthesize statements then this would
work, except for the important case of blocks.

    Waldemar

This might be a pretty radical (or stupid) thing to ask, but what if a
block with labeled statements were semantically the same as an object
with expression lambdas, or completion values assigned to its keys?
Then perhaps the syntactic conflict wouldn't be a conflict at all, and
a break [label] would be a call of the lambda at
[parentblockobject][label]
.

In your proposal what are the values of the following expressions?

({x: y})

({})

({x})

({x, y})

({x; y})

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

Reply via email to