[Haskell-cafe] Does ghc use Language.Haskell.*?

Maurí­cio briqueabraque at yahoo.com
Tue Dec 9 20:21:34 EST 2008


Hi,

I've just coded a small utility to prettyprint
my code, based on Language.Haskell.Parser and
friends. Much to my surprise it wasn't able to
parse itself, complaining about a non-ASC
character (í).

Why can ghc read the program, but not the standard
library parser? Does ghc use something else?
Is it possible to use whatever ghc uses to build
a prettyprinter?

Thanks,
Maurício



More information about the Haskell-Cafe mailing list