<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><pre style="box-sizing: border-box; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 14px; margin-top: 0px; margin-bottom: 0px; line-height: 1.45; padding: 16px; overflow: auto; background-color: rgb(247, 247, 247); border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; word-wrap: normal; word-break: normal; color: rgb(51, 51, 51);" class="">  <span class="pl-k" style="box-sizing: border-box; color: rgb(167, 29, 93);">func</span> <span class="pl-en" style="box-sizing: border-box; color: rgb(121, 93, 163);">drop</span>(<span class="pl-k" style="box-sizing: border-box; color: rgb(167, 29, 93);">@noescape</span> <span class="pl-en" style="box-sizing: border-box; color: rgb(121, 93, 163);">while</span> <span class="pl-smi" style="box-sizing: border-box;">predicate</span>: (<span class="pl-k" style="box-sizing: border-box; color: rgb(167, 29, 93);">Self</span><span class="pl-k" style="box-sizing: border-box; color: rgb(167, 29, 93);">.</span>Iterator<span class="pl-k" style="box-sizing: border-box; color: rgb(167, 29, 93);">.</span>Element) throws <span class="pl-k" style="box-sizing: border-box; color: rgb(167, 29, 93);">-&gt;</span> <span class="pl-c1" style="box-sizing: border-box; color: rgb(0, 134, 179);">Bool</span>) rethrows -&gt; Self.SubSequence
  <span class="pl-k" style="box-sizing: border-box; color: rgb(167, 29, 93);">func</span> <span class="pl-en" style="box-sizing: border-box; color: rgb(121, 93, 163);">prefix</span>(<span class="pl-k" style="box-sizing: border-box; color: rgb(167, 29, 93);">@noescape</span> <span class="pl-en" style="box-sizing: border-box; color: rgb(121, 93, 163);">while</span> <span class="pl-smi" style="box-sizing: border-box;">predicate</span>: (<span class="pl-k" style="box-sizing: border-box; color: rgb(167, 29, 93);">Self</span><span class="pl-k" style="box-sizing: border-box; color: rgb(167, 29, 93);">.</span>Iterator<span class="pl-k" style="box-sizing: border-box; color: rgb(167, 29, 93);">.</span>Element) throws <span class="pl-k" style="box-sizing: border-box; color: rgb(167, 29, 93);">-&gt;</span> <span class="pl-c1" style="box-sizing: border-box; color: rgb(0, 134, 179);">Bool</span>) rethrows -&gt; Self.SubSequence
</pre></div><div class=""><br class=""></div><div class=""><br class=""></div>Now I may just&nbsp;be a simple country hyper-chicken, but so I don’t know if there are other languages that inspired the names of these functions, but it ruffles my feathers that we have the words “drop” and “prefix” for two functions that are kind of symmetric, instead of symmetric words like “drop” and “keep” or “prefix” and “suffix”.<div class=""><br class=""></div><div class="">Not that I’m in love with those particular examples, I’m just saying I’d like it if there were some symmetry in the words that suggested the symmetry of the functions. But, again, maybe these are, like, some standard terms that I just missed out on and everyone would hate it if we didn’t use the standard name, like if we renamed “cos()” to “adjacentOverHypotenuse()”.</div><div class=""><br class=""></div><div class="">Ba-kawk,</div><div class="">-Wil</div></body></html>