Block Lambdas: break and continue
Tab Atkins Jr.
jackalmage at gmail.com
Sat Jan 14 17:01:32 PST 2012
On Sat, Jan 14, 2012 at 2:05 PM, Brendan Eich <brendan at mozilla.org> wrote:
> This reminds me of dherman's escape continuation proposal:
> We did not promote it from Strawman to Harmony status.
It's likely no accident, but the direct Lisp equivalent to this (BLOCK
have proven useful to me many times when I needed to either continue
or break from a macro-defined looping construct.
I support the author being able to declare their own capacity to
escape from block-lambda-driven "loops" using this mechanism. I like
it *much* better than attempting to discriminate somehow between
lambda-driven "loops" and other lambda-driven constructs, or some
lambda-driven constructs invisibly handling break/continue themselves.
Plus, it's *very* often useful to escape multiple levels of loops,
which is not solved by extending break/continue, but *is* solved by
More information about the es-discuss