DEV Community

Discussion on: Explain Monads Like I'm five

Collapse
 
andreimoment profile image
Andrei Andreev

This was awesome, and hilarious: "This is where fmap comes in. fmap is from the street, fmap is hip to contexts. fmap knows how to apply functions to values that are wrapped in a context. For example, suppose you want to apply (+3) to Just 2."

thank you for sharing!