> The problem in the Doodads example is that the name flatMap is used to 
> identify two distinct intents: concatenating arrays and filtering nils.
You may have read about my issues with the prefix, but following the same logic 
of „filtering nils“, the other variant of flatMap just filters out empty arrays.
_______________________________________________
swift-evolution mailing list
swift-evolution@swift.org
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to