2009/5/22 Maurício <[email protected]>: > Hi, > > 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, including haddock documentation > (although probably loosing other comments)? > Maybe even an html version that documentation > could point to?
You can use hscolour to output source code in HTML form and Haddock can generate links to it if you use the --source-* flags. Most documentation on Hackage seems to make use of this. Is this what you want or is there some reason why you want the code to be pretty-printed? David _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
