[Haskell-cafe] Re: Can we come out of a monad?

wren ng thornton wren at freegeek.org
Fri Jul 30 23:09:24 EDT 2010

Ivan Lazar Miljenovic wrote:
> More and more people seem to be getting away from trying to say that
> monads are containers/burritos/etc. and just teaching them by way of the
> definition, either >>= and return or just join

You always need return. The choice of primitives is:

     return, (>>=)


     fmap, return, join

Live well,

More information about the Haskell-Cafe mailing list