Tools for working with derived `Show` instances and generic inspection of values.

Version on this page:1.8.2
LTS Haskell 19.8:1.10
Stackage Nightly 2022-05-27:1.10
Latest on Hackage:1.10

See all snapshots pretty-show appears in

MIT licensed by Iavor S. Diatchki
This version can be pinned in stack with:pretty-show-1.8.2@sha256:e16e0174bf4ad3dae49fea69b1f65ca9d8d4b61b3d80c78fbe3320f2181e92e9,1858

Module documentation for 1.8.2

  • Text
    • Text.Show
      • Text.Show.Pretty

We provide a library and an executable for working with derived Show instances. By using the library, we can parse derived Show instances into a generic data structure. The ppsh tool uses the library to produce human-readable versions of Show instances, which can be quite handy for debugging Haskell programs. We can also render complex generic values into an interactive Html page, for easier examination.