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

Nevin Brackett-Rozinsky nevin.brackettrozinsky at gmail.com
Wed Nov 15 20:48:30 CST 2017


On Wed, Nov 15, 2017 at 8:05 PM, Wallacy via swift-evolution <
swift-evolution at swift.org> wrote:

> “unwrappingMap”(or some variations using unwrap).
>

 I’d like to propose “mapAndUnwrap”.

It does what it says on the tin: map a sequence (into an optional type),
then unwrap the values which exist.

Nevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20171115/bbbe4e70/attachment.html>


More information about the swift-evolution mailing list