[swift-evolution] "if case" syntax is ugly

Amir Michail a.michail at me.com
Sat Dec 5 07:14:16 CST 2015


Maybe instead of: if case 1...3 = x { … }

You could have: if x case 1..3 { … }

And loops could be handled similarly: for x case 1..3 in z { … }



More information about the swift-evolution mailing list