[Haskell-cafe] Monad explanation

Dan Piponi dpiponi at gmail.com
Wed Feb 4 15:20:22 EST 2009


On Wed, Feb 4, 2009 at 12:16 PM, Tymur Porkuian
<shooshpanchick at gmail.com> wrote:
> For me, the key to understanding monads was that monad is "a value
> that know how to apply functions to itself". Or, more correctly, a
> container that knows how to apply functions to whatever is inside it.

You've just described a Functor rather than a Monad. :-)
--
Dan


More information about the Haskell-Cafe mailing list