Break out of non-loops

Isiah Meadows 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
> https://mail.mozilla.org/listinfo/es-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20171028/2c9ffb9a/attachment.html>


More information about the es-discuss mailing list