Print Data instances as a nested tree

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow to host generated Haddocks.

BSD-3-Clause licensed by Lennart Spitzner
Maintained by Lennart Spitzner

Provides functionality similar to that of the Show class: Taking some arbitrary value and returning a String.

  • Output is not intended to be valid haskell.

  • Requires a Data.Data.Data instance instead of a Text.Show one.

  • Output, if large, is often easier to parse than show output due to the formatting as a nested tree.

  • The user can adapt the behaviour at runtime using custom layouting expressed via syb-style extension.


Revision history for data-tree-print – October 2018

  • Support ghc-8.6, but drop support for ghc<7.10
  • Fix default formatter for strings – April 2018

  • Fixups for ghc-8.4 – May 2017

  • First version. Released on an unsuspecting world.