[swift-evolution] Adding a new filter method which returns 2 arrays
nbirkholz at gmail.com
Fri Jan 15 11:07:47 CST 2016
That seems like a solid idea.
On Fri, Jan 15, 2016 at 8:02 AM, Arman Shanjani via swift-evolution <
swift-evolution at swift.org> wrote:
> I was wondering if we could add a new filter method to the stdlib, where
> instead of returning just one array, it returns a tuple of 2 arrays, one
> with items that the closure returned true for and one with items that the
> closure returned false for. What do you think?
> Thank you,
> swift-evolution mailing list
> swift-evolution at swift.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution