[swift-evolution] [Pitch] Retiring `where` from for-in loops

Erica Sadun erica at ericasadun.com
Tue Jun 14 10:01:11 CDT 2016


> On Jun 14, 2016, at 7:50 AM, plx via swift-evolution <swift-evolution at swift.org> wrote:
> For those particular keywords, I’d prefer having them (or equivalents). I’m not sure if I’d prefer having *all* of them—`where/unless` and `while/until`—or just one from each “pair”…I could go either way.

In the proposal, my recommendations for including all 4 are:

break: while / until
continue: if (formerly `where`) / unless

As the thread has had sufficient redundancy, I'll refrain from making my case again for why I think it's better to remove the one than add the three.

-- E




More information about the swift-evolution mailing list