[swift-evolution] [swift-evolution-announce] [Accepted and Focused Re-review] SE-0187: Introduce Sequence.filterMap(_:)

Tino Heth 2th at gmx.de
Tue Nov 21 03:47:52 CST 2017


My favorite would be a variation of Scalas choice (collect / collectResults).
The word compact (or similar choices like condense, squeeze, pack, compress…) always remind me on compression — my first association of „compact“ would be a transform that turns [1, 2, 2, 3] into [1, 2, 3] (like the shell tool uniq).
But there’s a long list of verbs with similar meaning, so if there’s a consensus for compact (or compacted…), I join that camp.


More information about the swift-evolution mailing list