name:                data-tree-print
version:             0.1.0.1
synopsis:            Print Data instances as a nested tree
license:             BSD3
license-file:        LICENSE
author:              Lennart Spitzner
maintainer:          Lennart Spitzner <hexagoxel@hexagoxel.de>
copyright:           Copyright (C) 2016 Lennart Spitzner
Homepage:            https://github.com/lspitzner/data-tree-print
Bug-reports:         https://github.com/lspitzner/data-tree-print/issues
category:            Pretty Printer
build-type:          Simple
extra-source-files:  ChangeLog.md
cabal-version:       >=1.10

description: {
  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.
}

source-repository head {
  type: git
  location: https://github.com/lspitzner/data-tree-print.git
}

library
  exposed-modules:     DataTreePrint
  build-depends:
    { base >=4.3 && <4.12
    , pretty >=1.1 && <1.2
    , syb >=0.6 && <0.8
    }
  hs-source-dirs:      src
  default-language:    Haskell2010
  ghc-options: {
    -Wall
    -fno-warn-orphans
    -fno-warn-unused-imports
  }