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

Version on this page:1.6.8@rev:2
LTS Haskell 22.26:1.10
Stackage Nightly 2024-06-22:1.10
Latest on Hackage:1.10

See all snapshots pretty-show appears in

BSD-3-Clause licensed by Iavor S. Diatchki
Maintained by [email protected]
This version can be pinned in stack with:pretty-show-1.6.8@sha256:0132ec00dc43ee57f9baee583babe2f2f930b5430920d18ea9c6d37671e964a4,1770

Module documentation for 1.6.8

  • 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.