On May 22, 2011, at 7:12 AM, Claus Reinke wrote:

> Again, this is just guessing based on reading the examples in the strawman - 
> it could be completely off the mark. Informal but complete semantics would 
> help to understand what is supposed to be possible and what not. Further 
> decisions cannot be based on syntax or selected examples alone.

Your examples all look correct at a glance. As you show, the return, break, or 
continue must nest within the "container" required for that statement in a 
regular block, as for a block-lambda. But your examples nicely show abstraction 
away from actual block arguments using let-bound local variables. (This will be 
less optimized in advanced implementations, but no worries.)

/be

_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to