<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Mon, Jun 13, 2016 at 8:26 AM Erica Sadun <<a href="mailto:erica@ericasadun.com">erica@ericasadun.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
> On Jun 13, 2016, at 9:23 AM, let var go via swift-evolution <<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>> wrote:<br>
><br>
> I am 100% with Charlie on this. Expressiveness has to do with the *effectiveness* of conveying a thought or a feeling.<br>
><br>
> Keep "where". It is expressive. It conveys a specific idea effectively and concisely.<br>
<br>
For those of you in favor of retaining `where`, how do you feel about adding `while`, `until`, `unless`, etc?<br>
<br>
-- E<br>
<br></blockquote><div><br></div><div>That would be interesting...I assume that 'while' or 'until' would cause early exit from the loop, and 'unless' would be the logical inverse of 'where'.</div><div><span style="line-height:1.5"><br></span></div><div><span style="line-height:1.5">I'd have to think about it some more, but my instinct is that I would be in favor of adding 'unless' as the logical inverse of 'where' (exclude items based on the predicate, instead of include items based on the predicate). I wouldn't add 'while' or 'until', because we already have conditional loops like the 'while' loop to serve that need.</span></div></div></div>