data-tree-print: Print Data instances as a nested tree

[ bsd3, library, pretty-printer ] [ Propose Tags ] [ Report a vulnerability ]

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.

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.0.1, 0.1.0.2
Change log ChangeLog.md
Dependencies base (>=4.8 && <4.17), pretty (>=1.1 && <1.2), syb (>=0.6 && <0.8) [details]
License BSD-3-Clause
Copyright Copyright (C) 2016 Lennart Spitzner
Author Lennart Spitzner
Maintainer Lennart Spitzner <hexagoxel@hexagoxel.de>
Revised Revision 3 made by Bodigrim at 2022-02-18T23:19:53Z
Category Pretty Printer
Home page https://github.com/lspitzner/data-tree-print
Bug tracker https://github.com/lspitzner/data-tree-print/issues
Source repo head: git clone https://github.com/lspitzner/data-tree-print.git
Uploaded by lspitzner at 2018-10-24T20:11:44Z
Distributions Arch:0.1.0.2, Debian:0.1.0.2, NixOS:0.1.0.2
Reverse Dependencies 2 direct, 2 indirect [details]
Downloads 10680 total (23 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]