<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div><blockquote type="cite" class="">On Apr 5, 2016, at 3:22 PM, Erica Sadun via swift-evolution <<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>> wrote:</blockquote><blockquote type="cite" class=""><br class=""></blockquote><blockquote type="cite" class=""><div class=""><blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">On Apr 5, 2016, at 4:17 PM, Dave Abrahams via swift-evolution <<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>> wrote:<br class=""><br class="">on Tue Apr 05 2016, Erica Sadun <<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>> wrote:<br class=""><br class=""><blockquote type="cite" class=""> On Apr 5, 2016, at 1:54 PM, Dave Abrahams<br class=""> <<a href="mailto:dabrahams@apple.com" class="">dabrahams@apple.com</a>> wrote:<br class=""> IMO this:<br class=""><br class=""> (-9...0).reverse()<br class=""><br class=""> is better than<span class="Apple-converted-space"> </span><br class=""><br class=""> stride(from: 0, to: -10, by: -1)<br class=""><br class=""> What do you think?<br class=""><br class="">The latter better reflects an author's actual intent. The former depends on<br class="">implementation details, which can be hazy, especially, around the edge cases. It<br class="">is quicker to read, understand, and verify that the latter is what is<br class="">meant.<br class=""></blockquote><br class="">Except that there seems to be some confusion over what "to:" means, right?</blockquote><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">obviously (0..<-10).by(-2) would be best.</span></div></blockquote><br class=""></div><div>(0 ..> -10).by(-2)?</div><div><br class=""></div><div>Maybe having another range operator is overkill, but ..< seems pretty bonkers here.</div></body></html>