Reconsidering, they aren't used anywhere else in the standard library so
I'd say that is indeed likely. In fact, something I'm working on at the
moment may make it happen sooner than that ;-). Stay tuned.
···
on Mon Apr 11 2016, Dave Abrahams <swift-evolution@swift.org> wrote:
Thanks for your comments, Brent!
on Sun Apr 10 2016, Brent Royal-Gordon <swift-evolution@swift.org> wrote:
https://github.com/apple/swift-evolution/blob/master/proposals/0065-collections-move-indices.md
Some questions and comments:
• Two for ranges that additionally conform to
RandomAccessCollection (requiring bounds that are Strideablewith
Stride conforming to Integer): CountableRange<T> and
CountableClosedRange<T>. These types can be folded into Range and
ClosedRange when Swift acquires conditional conformance capability.Does this mean that once we have conditional conformances,
HalfOpenRangeProtocol and ClosedRangeProtocol will most likely go
away?I'm not sure, honestly.
--
Dave