[Haskell-cafe] Which pretty print library?

Vanessa McHale vanessa.mchale at iohk.io
Thu Oct 4 16:30:02 UTC 2018


I've used prettyprinter and I've been reasonably happy with it. I'd
recommend *not* using ansi-wl-pprint but I don't have much experience
with anything beyond those two since I've not had any reason to move on
from prettyprinter :)

On 10/04/2018 10:48 AM, waldmann wrote:
> Dear Cafe,
>
> what is today's answer to this old question:
> https://stackoverflow.com/questions/9761507/which-pretty-print-library
>
> In particular, I agree with author's:
> "The thing that worries me about these [many pretty-printing libraries]
> is that many of them have many releases. This implies they've had
> features added, bugs fixed, etc. But have they all had the same
> bugs fixed?"
>
> Meanwhile, there's https://hackage.haskell.org/package/prettyprinter
> "This package solves all these issues, and then some."
> (clearly an instance of https://xkcd.com/927/ )
>
> GHC is using pretty-1.1.3.6 ?
>
> - J.W.
> _______________________________________________
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
> Only members subscribed via the mailman list are allowed to post.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20181004/9b2687f0/attachment.sig>


More information about the Haskell-Cafe mailing list