Not the only, actually, but close. There's still `case ... where` and `catch ... where`; this proposal offers some suggestions on that.
On Mon, Jun 13, 2016 at 4:16 PM, Антон Жилин <[email protected]> wrote: > Ah, I see. Then for-each will be the only usage of `where`, aside from > generics. I'm even more in favour of the proposal being discussed, then. > > - Anton > > 2016-06-13 23:03 GMT+03:00 Brent Royal-Gordon <[email protected]>: > >> > 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 >> >> >
_______________________________________________ swift-evolution mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
