> This proposal only proposes renaming the “filterNonesAndMap” variant (though
> that name is misleading, it would be “filterNonesAfterMapping” if anything);
> the other uses of flatMap will remain unchanged.
… then it should be really right: As I learned in the thread, there is a map
step before filter, and another map afterwards - so
„filterNonesAfterMappingAndMap“ (that’s why I don’t like the use of the term
„filter“ here — if you want an accurate name that contains this verb, it gets
quite complicated…)
_______________________________________________
swift-evolution mailing list
swift-evolution@swift.org
https://lists.swift.org/mailman/listinfo/swift-evolution