Hi Pasqualino,

> 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).

What you want is exactPrint, defined in
Language.Haskell.Exts.Annotated.ExactPrint. :-)

Cheers,

/Niklas
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to