Support for pretty printing in GHC

Simon Peyton-Jones simonpj at microsoft.com
Mon Sep 5 17:00:31 CEST 2011


| OK, here's a quick proposal.
| 
| 1.  Specifiying a pretty printer.  Add the flag:
| 
|   -pretty <function-name>
| 
| The supplied function will typically have type (C a => a -> String)
| for some class C. 

I made a ticket for this.  http://hackage.haskell.org/trac/ghc/ticket/5461

Not hard for someone (Razvan, even) to implement.

Simon




More information about the Cvs-ghc mailing list