Back to Fpinscala

07.Hint

answerkey/applicative/07.hint.md

latest189 B
Original Source

Implement map2 in terms of flatMap. Start with each applicative law in turn, then substitute equals for equals and apply the monad laws until you get an equation that is obviously true.