> On Nov 10, 2017, at 5:07 AM, Tino Heth <2...@gmx.de> wrote:
> 
> A: Well, it does a mapping, and then applies a filter to get rid of nils,

I prefer to think of it this way: it does a mapping, and keeps the results 
where the closure did not return nil. In the example given earlier, the closure 
returned Optional<Int?>.some(nil), which is not “nil”.

-BJ
_______________________________________________
swift-evolution mailing list
swift-evolution@swift.org
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to