statements that could be expressions?

Breton Slivka zen at zenpsycho.com
Wed Jun 1 18:47:33 PDT 2011


>
> 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]


More information about the es-discuss mailing list