> On Apr 8, 2017, at 12:03, Ben Cohen via swift-evolution
> <[email protected]> wrote:
>
>
>
> Hi swift-evolution,
>
> Another short proposal related to the Collection algorithms theme, this time
> for removing elements in-place from a collection.
>
> Online copy here:
> https://github.com/airspeedswift/swift-evolution/blob/1aac5593828941431d1805503865e7a2913d538b/proposals/NNNN-RemoveWhere.md
I don't think the `foo.removeAll(equalTo: 3)` is sufficiently better than
`foo.removeAll { $0 == 3}` to justify the alternate spelling.
+1, regardless, though.
- Dave Sweeris _______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution