> On Apr 10, 2017, at 13:30, Kevin Nattinger via swift-evolution > <[email protected]> wrote: > > array.remove(where: { $0 > 3 }) > array.remove { $0 > 3 }
`where` is the best label for this. `filter` doesn’t have an overload for Comparable, this doesn’t need one either. Cheers, Guillaume Lessard _______________________________________________ swift-evolution mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
