Re:On Learning Haskell
by jrockway on Wednesday March 10, 2010 @12:54PM
(#1181493)
"A monad is like a functor, except there is also a 'join' operation."
[ Parent
| on HN ]
Don't forget about pointed functors in between, i.e. return.
Yeah. 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 :)
You 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.