[Haskell-cafe] Re: Can we come out of a monad?
Tillmann Rendel
rendel at informatik.uni-marburg.de
Fri Jul 30 07:41:43 EDT 2010
Hi,
I wrote:
> There is nothing special about monads!
Kevin Jardine wrote:
> I've seen plenty of comments suggesting that monads are easy to
> understand, but for me they are not.
My point was that monads are not a language feature whith special
treatment of the compiler, but more like a design pattern or a standard
interface, a way of using the language. There is no compiler magic about
monads. Therefore, they can, in principle, be understand by reading
their definition in Haskell.
Nevertheless, I agree that it is hard to understand monads, because they
are a clever way of using Haskell and use several of Haskell's more
advanced features.
Tillmann
More information about the Haskell-Cafe
mailing list