[Haskell-cafe] how to #include files within parsec ... without unsafePerformIO?

Leonard Siebeneicher l-siebeneicher at versanet.de
Fri Jun 19 02:49:54 EDT 2009

Hi Neil, Hi Daniel.

Thank you for your help, using parsec 3.0.0 and liftIO was the solution.

After installing new parsec I have had to use
import Text.Parsec
... instead of ...
import Text.ParserCombinators.Parsec
... to get it work.
It seems Text.ParserCombinators.Parsec refers to old Parsec 2

Have a nice week--end,

More information about the Haskell-Cafe mailing list