brendan at mozilla.com
Sun May 22 07:27:08 PDT 2011
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.)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss