data-tree-print

Print Data instances as a nested tree https://github.com/lspitzner/data-tree-print

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 stackage.org 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.

Changes

Revision history for data-tree-print

0.1.0.2 – October 2018

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

0.1.0.1 – April 2018

  • Fixups for ghc-8.4

0.1.0.0 – May 2017

  • First version. Released on an unsuspecting world.