<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">But you noted in that thread that "(Int.min..&lt;Int.max).count” is larger than you can fit in an Int, and causes a crash today. If we remove IndexDistance, that behaviour is locked-in, is it not?<div class=""><br class=""></div><div class="">I would love to make generic programming against Collection more convenient, but that seems like quite a large cost which wasn’t made clear in the proposal. I also note that people only expressed support for the proposal <i class="">before</i> Xiaodi pointed it out, and not afterwards (although its possible my email program missed/misplaced some messages, it does happen...).</div><div class=""><br class=""></div><div class="">- Karl<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 4. Dec 2017, at 19:39, Ben Cohen via swift-evolution &lt;<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">They will continue to conform to Collection just as they do today. Range&lt;Int&gt;.IndexDistance is already an Int.<br class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On Dec 4, 2017, at 10:35, Karl Wagner via swift-evolution &lt;<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">What does this mean for ranges of integers, as Xiaodi mentioned in the review thread? Can they still conform to Collection?&nbsp;<div class=""><br class=""></div><div class="">I think we really need clarification on that aspect. Personally, I would consider it a deal-breaker.<div class=""><div class=""><br class=""></div><div class="">- Karl</div><div class=""><br class=""><blockquote type="cite" class=""><div class="">On 4. Dec 2017, at 18:57, Douglas Gregor via swift-evolution &lt;<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">Proposal Link:&nbsp;<a href="https://github.com/apple/swift-evolution/blob/master/proposals/0191-eliminate-indexdistance.md" class="">https://github.com/apple/swift-evolution/blob/master/proposals/0191-eliminate-indexdistance.md</a></div><div class=""><br class=""></div>Hello Swift Community,<div class=""><br class=""></div><div class="">The review of SE-0191 "Eliminate IndexDistance from Collection” ran from November 27…December 3, 2017. The proposal is <b class="">accepted</b>. Feedback for this simplification to the Collection protocols was positive.</div><div class=""><br class=""></div><div class="">Thank you to everyone who participated in the review!</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre">        </span>Doug Gregor</div><div class=""><span class="Apple-tab-span" style="white-space:pre">        </span>Review Manager</div></div>_______________________________________________<br class="">swift-evolution mailing list<br class=""><a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a><br class=""><a href="https://lists.swift.org/mailman/listinfo/swift-evolution" class="">https://lists.swift.org/mailman/listinfo/swift-evolution</a><br class=""></div></blockquote></div><br class=""></div></div></div>_______________________________________________<br class="">swift-evolution mailing list<br class=""><a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a><br class=""><a href="https://lists.swift.org/mailman/listinfo/swift-evolution" class="">https://lists.swift.org/mailman/listinfo/swift-evolution</a><br class=""></div></blockquote></div><br class=""></div>_______________________________________________<br class="">swift-evolution mailing list<br class=""><a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a><br class="">https://lists.swift.org/mailman/listinfo/swift-evolution<br class=""></div></blockquote></div><br class=""></div></body></html>