<div dir="ltr">Neat, I was thinking something along the same lines. My &#39;can of worms&#39; thought is that it might be hard to distinguish between local and non-local break/continue, and if the closure were a standalone function, would the syntax even work? (I have an idea on this, but this ought to be a different thread.) But I agree, would be a very nice tool to have. <br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 9, 2015 at 10:02 AM, Stephen Celis <span dir="ltr">&lt;<a href="mailto:stephen.celis@gmail.com" target="_blank">stephen.celis@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><div>Joe Groff suggested that here:</div><div><br></div><div><a href="https://lists.swift.org/pipermail/swift-evolution/Week-of-Mon-20151207/001150.html" target="_blank">https://lists.swift.org/pipermail/swift-evolution/Week-of-Mon-20151207/001150.html</a> <br></div></div><br></div><div class="gmail_extra">If you can think of reasons why it might be a can of worms, I&#39;d love to hear them. It&#39;d be a nice tool to have in the toolchain.</div><span><font color="#888888"><div class="gmail_extra"><br></div><div class="gmail_extra">Stephen</div></font></span></div>
</blockquote></div><br></div></div>