Map and Flatmap

This week, I explained to my colleagues what's the difference between a map and a flatMap[1]. The trick was: focus on the types and leave the burritos for lunch time. Monads and cheese pic.twitter.com/nT3DJ51qXt— R. Peres (@RuiAAPeres) July 24, 2015 Map [a] -> (a…