Skip to content

Latest commit

 

History

History
 
 

0045-the-many-faces-of-flatmap-pt4

This directory contains code from Point-Free Episode: The Many Faces of Flat-Map: Part 4

Continuing our 3-part answer to the all-important question "what's the point?", we show that the definitions of map, zip and flatMap are precise and concisely describe their purpose. Knowing this we can strengthen our APIs by not smudging their definitions when convenient.

Getting Started

  • Clone repo
  • cd into this directory
  • Run swift package generate-xcodeproj
  • Open ManyFacesOfFlatMap.xcworkspace
  • Build the package for macOS
  • Open the playground