<div dir="ltr">On Fri, Jun 24, 2016 at 12:45 AM, Guillaume Lessard via swift-evolution <span dir="ltr"><<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I like this draft. Quickly:<br>
<br>
- “removing” sounds more destructive than “skipping”, so I’d lean towards using “skipping”. I would be happy with either, though.<br>
- there are two different labels for predicates (where and while). “where” is probably the better label. (some previous discussion had seemingly arrived to that conclusion: <a href="http://article.gmane.org/gmane.comp.lang.swift.evolution/16334/" rel="noreferrer" target="_blank">http://article.gmane.org/gmane.comp.lang.swift.evolution/16334/</a>)<br></blockquote><div><br></div><div>I think this is going to the distinction that "where" is now supposed to correspond to "continue" inside a loop if the predicate isn't satisfied, whereas "while" is supposed to correspond to "break" inside a loop if the predicate isn't satisfied. Then again, I've argued elsewhere on this list that the distinction isn't nearly as obvious as some seem to think it is, and I think we have another demonstration of that here :)</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I like the idea of making the index-based slicing operations look more like slicing operations. I have on occasion wanted the operators you describe in the “aggressive” option; I approve.<br>
<br>
Cheers,<br>
Guillaume Lessard<br>
<div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
swift-evolution mailing list<br>
<a href="mailto:swift-evolution@swift.org">swift-evolution@swift.org</a><br>
<a href="https://lists.swift.org/mailman/listinfo/swift-evolution" rel="noreferrer" target="_blank">https://lists.swift.org/mailman/listinfo/swift-evolution</a><br>
</div></div></blockquote></div><br></div></div>