This directory contains code from Point-Free Episode: The Many Faces of Flat-Map: Part 1
Previously we've discussed the
map
andzip
operations in detail, and today we start completing the trilogy by exploringflatMap
. This operation is precisely the tool needed to solve a nesting problem thatmap
andzip
alone cannot.
- Clone repo
cd
into this directory- Run
swift package generate-xcodeproj
- Open
ManyFacesOfFlatMapPt1.xcworkspace
- Build the package for macOS
- Open the playground