Break out of non-loops
isiahmeadows at gmail.com
Sat Oct 28 03:22:13 UTC 2017
That is a whole different deal, closer to Python's `StopIteration` than
standard control flow.
On Fri, Oct 27, 2017, 20:15 liorean <liorean at gmail.com> wrote:
> The places where break and continue would be most interesting to me in
> non-loops would be for dynamic flow control in nested functions or in
> callbacks, for example to use in mapping or folding functions, not in
> statement context with lexical blocks and labels. Look at Ruby's
> next/break/redo/retry for what I mean.
> David "liorean" Andersson
> es-discuss mailing list
> es-discuss at mozilla.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss