File: pretty-show.cabal

package info (click to toggle)
haskell-pretty-show 1.9.5-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 220 kB
  • sloc: haskell: 501; yacc: 136; makefile: 3
file content (76 lines) | stat: -rw-r--r-- 1,963 bytes parent folder | download
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
name:           pretty-show
version:        1.9.5
category:       Text

synopsis:       Tools for working with derived `Show` instances and generic
                inspection of values.
description:
  We provide a library and an executable for working with derived 'Show'
  instances. By using the library, we can parse derived 'Show' instances into a
  generic data structure. The @ppsh@ tool uses the library to produce
  human-readable versions of 'Show' instances, which can be quite handy for
  debugging Haskell programs.  We can also render complex generic values into
  an interactive Html page, for easier examination.

license:        MIT
license-file:   LICENSE
author:         Iavor S. Diatchki
maintainer:     iavor.diatchki@gmail.com

homepage:       http://wiki.github.com/yav/pretty-show

cabal-version:  >= 1.8
build-type:     Simple

tested-with:    GHC == 7.10.3
                GHC == 8.0.2
                GHC == 8.2.2
                GHC == 8.4.4
                GHC == 8.6.1

data-files:
  style/jquery.js
  style/pretty-show.js
  style/pretty-show.css

extra-source-files:
  CHANGELOG

library
  exposed-modules:
    Text.Show.Pretty
  other-modules:
    Text.Show.Html
    Text.Show.Parser
    Text.Show.Value
    Text.Show.PrettyVal
    Paths_pretty_show
  build-depends:
    array          >= 0.2  &&  < 2,
    base           >= 4.5  &&  < 5,
    haskell-lexer  >= 1    &&  < 2,
    pretty         >= 1    &&  < 2,
    text,
    filepath,
    ghc-prim
  ghc-options: -Wall -O2
  if impl(ghc < 7.4)
    cpp-options: -DNO_GENERICS
  build-tool-depends: happy:happy
  build-tools: happy

executable ppsh
  main-is: ppsh.hs
  other-modules: Paths_pretty_show

  hs-source-dirs: bin
  build-depends:
    base          >= 4.5  &&  < 5,
    pretty-show
  ghc-options: -Wall

source-repository head
  type:     git
  location: https://github.com/yav/pretty-show.git