[Haskell-cafe] Help with Programming in Haskell example

Andre Nathan andre at digirati.com.br
Fri May 18 16:44:10 EDT 2007


On Fri, 2007-05-18 at 22:32 +0200, Tillmann Rendel wrote:
>[snip]
> Now you should be able to use do notation with your own Parser type.

Thanks! Monads and instances weren't mentioned until that point, so I
was assuming that all that was needed for the "do" notation to work was
having "(>>=)" and "return" defined...

Best regards,
Andre



More information about the Haskell-Cafe mailing list