[Haskell-cafe] Martin Odersky on "What's wrong with Monads"

Stephen Tetley stephen.tetley at gmail.com
Sun Jun 24 07:58:14 CEST 2012


You only have to change the parts of the program that need the effect
that the monad provides. A well designed program will likely have much
of its code in pure libraries. Think of the monadic code as a
"scripting language" that you bind your libraries together with to
make the program.

On 24 June 2012 06:31, Jonathan Geddes <geddes.jonathan at gmail.com> wrote:
> Cafe,
> "What's wrong with Monads is that if you go into a Monad you have to change
> your whole syntax from scratch. Every single line of your program changes if
> you get it in or out of a Monad. [SNIP]
> Thoughts?

More information about the Haskell-Cafe mailing list