[Haskell-cafe] Is my code too complicated?

Stephen Tetley stephen.tetley at gmail.com
Sat Jul 3 09:40:05 EDT 2010

On 3 July 2010 14:20, Andrew Coppin <andrewcoppin at btinternet.com> wrote:

> Tangentally, it seems to me that all monads can be described as doing zero
> or more of:
> - Invisibly pass state around (and possibly modify it).
> - Perform unusual flow control.
> - I/O (or some restricted subset of it).
> Can anybody think of a monad that does something that doesn't fall under one
> of these categories?

The Identity monad of course.

You did ask...

More information about the Haskell-Cafe mailing list