File: data-tree-print.cabal

package info (click to toggle)
haskell-data-tree-print 0.1.0.2-3
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 80 kB
  • sloc: haskell: 113; makefile: 5
file content (54 lines) | stat: -rw-r--r-- 1,548 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name:                data-tree-print
version:             0.1.0.2
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.8 && <5
    , 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
  }
  if impl(ghc >= 8.0) {
    ghc-options: {
      -Wcompat
    }
  }