<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=""><br class=""><div><blockquote type="cite" class=""><div class="">On Sep 26, 2017, at 2:37 AM, Alwyn Concessao <<a href="mailto:alsav196@yahoo.com" class="">alsav196@yahoo.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><span style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">@Jonathan Hull - You've mentioned about splitting a list using a filter which returns the filtered list and the remainder.Is it similar to having a filter function which does the filtering on the original collection and also returns the elements which are removed from the collection?</span></div></blockquote></div><br class=""><div class="">Hmm… I suppose a remove(where:) that had a @discardableResult of the things being removed would be useful in this way. Not to mention that it would be consistent with what I expect from a function called remove.</div><div class=""><br class=""></div><div class="">I was already in support, but now even more so…</div><div class=""><br class=""></div><div class="">Thanks,</div><div class="">Jon</div></body></html>