> Speaking of where, why wouldn’t you just do:
>
> for eachElement in theIntegerSequence where eachElement < 5 { … }
The `while` clause in the example we discussed was testing a separate variable
which was being used to count the number of matches. Thus, it was playing the
role of `prefix` (but in a less understandable way).
--
Brent Royal-Gordon
Architechies
_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution