With
ghc ParsecTest.hs -o pt
you get a link-time failure, because it looks as if the base package
Text.ParserCombinators.Parsec depends somehow on the package "text".
-------------- next part --------------
module Main where
import Text.ParserCombinators.Parsec
ch = char 'C'
main =
do
seq ch (return ())