> I have a question for you. How do you think we could use this pattern in the
> generalised situation:
In general ;-) I like things that can be used universally much more than a huge
number of special cases.
But here, I'm not sure if it's not an increase of complexity:
I often if statements with several stages of unpacking, and when there is
something similar for loops, imho it should act in the same way:
for let array? = test, i in array {
This would preserve the right order and keep the where clause reserved as it is
now.
_______________________________________________
swift-evolution mailing list
swift-evolution@swift.org
https://lists.swift.org/mailman/listinfo/swift-evolution