[swift-evolution] [Pitch] Retiring `where` from for-in loops
Антон Жилин
antonyzhilin at gmail.com
Mon Jun 13 16:16:53 CDT 2016
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 <brent at architechies.com>:
> > 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160614/378019a4/attachment.html>
More information about the swift-evolution
mailing list