Discussion:
[Haskell-cafe] Which pretty print library?
waldmann
2018-10-04 15:48:21 UTC
Permalink
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.
Vanessa McHale
2018-10-04 16:30:02 UTC
Permalink
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 :)
Post by waldmann
Dear Cafe,
https://stackoverflow.com/questions/9761507/which-pretty-print-library
"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
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Only members subscribed via the mailman list are allowed to post.
Oliver Charles
2018-10-04 16:42:41 UTC
Permalink
Another happy prettyprinter user here.
Post by Vanessa McHale
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 :)
Post by waldmann
Dear Cafe,
https://stackoverflow.com/questions/9761507/which-pretty-print-library
"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
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Only members subscribed via the mailman list are allowed to post.
_______________________________________________
Haskell-Cafe mailing list
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Only members subscribed via the mailman list are allowed to post.
Loading...