on Thu Mar 24 2016, Howard Lovatt <[email protected]> wrote:
> Not sure what you are saying?
>
> for index in empty.indices {
> // never executed
> }
>
> Would still work.
Not every algorithm is based on a linear traversal (e.g. binary search,
sort, etc.) For those you really need to access startIndex and endIndex
independently.
--
Dave
_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution
