|The Glasgow Haskell Compiler User's Guide, Version 4.06|
|Prev||Chapter 9. Other Haskell utility programs||Next|
Andrew Preece has written pphs, a utility to pretty-print Haskell code in LaTeX documents. Keywords in bolds, variables in italics—that sort of thing. It is good at lining up program clauses and equals signs, things that are very tiresome to do by hand.
The code is distributed with GHC in ghc/CONTRIB/pphs.