[Haskell-cafe] Re: haddock could be a pretty-printer?

Maurício briqueabraque at yahoo.com
Fri May 22 16:47:14 EDT 2009


>> The new version of haddock makes use of GHC parser. How much
>> of effort would take to make haddock generate pretty-print
>> of the source code itself, (...)

> (...) Is this what you want or is there some reason why you
> want the code to be pretty-printed?

I usually have to resort to braces or bad indenting to get
code to parse, but I like to give it good presentation before
publishing.

I used to pretty-print my code using haskell-src-exts with
great result, but that kills documentation.

Best,
Maurício



More information about the Haskell-Cafe mailing list