> On Sep 26, 2017, at 2:37 AM, Alwyn Concessao <[email protected]> wrote:
> 
> @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?

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.

I was already in support, but now even more so…

Thanks,
Jon
_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to