[swift-evolution] Discussion: Move range (..., ..<) to a range() function
jordan_rose at apple.com
Tue Dec 8 18:59:34 CST 2015
> On Dec 8, 2015, at 16:58, Brent Royal-Gordon <brent at architechies.com> wrote:
>> 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.
Not all Index types are Comparable (just like not all Comparable or Strideable types are ForwardIndex types).
More information about the swift-evolution