[swift-evolution] Dropping Comparable requirement for indices

Anton Zhilin antonyzhilin at gmail.com
Wed Jul 6 08:36:33 CDT 2016


What about dropping all requirements on indices? Collections will handle
comparison of their indices, as well. These methods will be
default-implemented in case Index is actually Comparable.
With this change, ranges really become pairs of indices that mean nothing
without their collection. But I don't think this is somethng catastrophic.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160706/66b07f9e/attachment.html>


More information about the swift-evolution mailing list