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

Brent Royal-Gordon brent at architechies.com
Mon Jun 13 15:03:02 CDT 2016


> Also, we should think about removing `where` from `while` loops.
> We can copy `if` syntax to `while` conditions.

SE-0099 applies to all constructs which use condition clauses, including `while`. The "Detailed Design" section even specifically mentions the `while` grammar rule. <https://github.com/apple/swift-evolution/blob/master/proposals/0099-conditionclauses.md#detailed-design>

-- 
Brent Royal-Gordon
Architechies



More information about the swift-evolution mailing list