[Haskell-cafe] pretty printing with comments

Pasqualino "Titto" Assini tittoassini at gmail.com
Tue Oct 20 06:54:01 EDT 2009


Hi,

Is there any simple way of pretty printing haskell source code while
preserving the comments?

I am looking at the haskell-src-ext library.

It can parse files with comments and it can pretty print but, for what
I can see it cannot do both :-)  (prettyPrint won't work on the
structure returned by parseFileWithComments).

Thanks,

         titto


More information about the Haskell-Cafe mailing list