Monthly Archives: August 2010

Haskell: write yourself a Monad in almost no time (2)

If you came here without having read part1 you may wish to do so now. How can we use our parser combinator function chain to construct more sophisticated parsers? Well, let’s just try to build a simple parser chain: chain1 … Continue reading

Posted in Uncategorized | 2 Comments

Haskell: write yourself a Monad in almost no time (3)

If you came here without having read any of the previous posts you may wish to do so here and here. We just turned our parser into a Monad by adding instance Monad Parser where    return = inject    (>>=) = … Continue reading

Posted in Uncategorized | 1 Comment

Haskell: write yourself a Monad in almost no time

Having read a couple of messages about the difficulty to learn about Monads on the Haskell Beginners mailing list, I thought I’d give it a try and explain my experience. It might help someone with his/her learning experience. A word … Continue reading

Posted in Uncategorized | 2 Comments