This directory contains code from Point-Free Episode: Composable Parsing: Zip
While
flatMap
allowed us to take our parser type to the next level, it introduced a nesting problem. Isn'tflatMap
all about solving nesting problems!? Well, we have one more operation at our disposal:zip
! Let's definezip
on the parser type, see what it brings to the table, and finally ask, "what's the point?"