[Haskell-cafe] Prettier pretty-printing of data types?

José Pedro Magalhães jpm at cs.uu.nl
Wed Mar 14 07:58:26 CET 2012


Hi,

On Wed, Mar 14, 2012 at 07:54, Johan Holmquist <holmisen at gmail.com> wrote:

> I guess you want an automatically derived show that indents, but if
> you don't mind defining you own, Data.PrettyPrint is really nice.
>

Though most likely any form of pretty-printing will be generic, and can be
defined with GHC.Generics [1], for instance.


Cheers,
Pedro

[1] http://www.haskell.org/haskellwiki/Generics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20120314/01f8177b/attachment.htm>


More information about the Haskell-Cafe mailing list