
30 Jul
2010
30 Jul
'10
7:41 a.m.
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