3 ms·
"A monad is like a functor, except there is also a 'join' operation."
by jrockway 17y ago
"A monad is like a functor, except there is also a 'join' operation."
- eru 17y agoDon't forget about pointed functors in between, i.e. return.
- jrockway 17y agoYeah. My mental picture is "thing with return/pure -> thing with fmap -> thing with join". The second is a pointed functor, the third is monad. Not sure what the first is, probably because it is nearly useless :)
- eru 17y agoYou may have it backward. The mathematicians use "thing with fmap (functor) -> thing with return/pure (pointed functor) -> thing with join (monad)", as far as I know. Arrows are another generalization of Monads that goes in a direction different from functors.