[swift-evolution] Discussion: Move range (..., ..<) to a range() function

Brent Royal-Gordon brent at architechies.com
Tue Dec 8 18:58:27 CST 2015


> Don't forget that most Ranges are on collection indexes, not strideable types, and Int is used as a collection index.

In this design, I think Range<Index> is replaced by Interval: IntervalType where Interval.Bound == Index.

-- 
Brent Royal-Gordon
Architechies



More information about the swift-evolution mailing list