[Haskell-cafe] Parsec type error with Flexible Contexts

Marco Túlio Gontijo e Silva marcotmarcot at gmail.com
Thu Aug 9 21:36:01 CEST 2012


Hi.

I wanted to generalize the definitions in Text.Parsec.Language to be
able to use them with Parsec Text instead of Parsec String.  I'm
getting a type error with the following code snippet:
http://hpaste.org/72844

I don't really understand the error, specially with regard to the fact
that the if I comment one of the marked lines on the code pasted the
program build.

Any help is welcome.

Greetings.

-- 
marcot
http://marcot.eti.br/



More information about the Haskell-Cafe mailing list