really want a suitable keyword for "finish executing **this current scope/block** [and have it evaluate to the provided value]". `return`, `break`, and `yield` feel suitable, but are already taken to mean rather specific, different things. :(
-
-
I think there was a proposal to allow labels on regular blocks, which would allow breaking out of them too.
-
Yes there is. (Once again I've stated by problem without the motivation, but) one of the reasons I want this is *instead* of labels on blocks: return/break/continue/deliver are just normal continuations which get shadowed 'normally', and if you want to use an outer one, `let` it.
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.