(any suggestions?).
Swift Solution to Dave Thomas’s Data Munging Kata Part 1
Adam Smith
2

Figured out that using .flatMap is a WAY better solution to this. See how I did it in Part II of this kata here.

Like what you read? Give Adam Smith a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.