
9 Dec
2008
9 Dec
'08
8:21 p.m.
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