[Haskell-cafe] Practical introduction to monads

Philippa Cowderoy flippa at flippac.org
Tue Aug 2 17:04:12 EDT 2005


On Tue, 2 Aug 2005, Paul Moore wrote:

> I've started learning Haskell, and I'm going through all the tutorial
> material I can find - there's a lot of good stuff available.
>
> One thing I haven't found a really good discussion of, is practical
> examples of building monads.

I've not really seen any. Something that might help though is considering 
winding the state of an abstract machine through a monad? That covers a 
lot of examples (parsing and the List monad come to mind).

-- 
flippa at flippac.org

There is no magic bullet. There are, however, plenty of bullets that 
magically home in on feet when not used in exactly the right circumstances.


More information about the Haskell-Cafe mailing list