[Haskell-cafe] Monad explanation

Tymur Porkuian shooshpanchick at gmail.com
Wed Feb 4 15:16:51 EST 2009


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.
Before understanding this I read a lot of tutorials that presented
monads as computations, IO sequencing structures, side effects
encapsulation mechanisms, but it was a little bit too abstract, even
though now I know how they are used for these purposes.


More information about the Haskell-Cafe mailing list