Closed
Description
Extend for, loop, and while loops to allow them to return values other than ():
- add an optional else clause that is evaluated if the loop ended without using break;
- add an optional expression parameter to break expressions to break out of a loop with a value.
Proposed in #352
Some discussion of future-proofing is available in #955