Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 670 Bytes

File metadata and controls

14 lines (11 loc) · 670 Bytes

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

Now that we know that flatMap is important for flattening nested arrays and optionals, we should feel empowered to define it on our own types. This leads us to understanding its structure more in depth and how it’s different from map and zip.

Getting Started

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