Debian Codegraph @

debian/control

raw
1 Source: haskell-groom
2 Maintainer: Debian Haskell Group <[email protected]>
3 Uploaders: Scott Talbert <[email protected]>
4 Priority: optional
5 Section: haskell
6 Rules-Requires-Root: no
7 Build-Depends: debhelper-compat (= 13),
8 haskell-devscripts-minimal | haskell-devscripts (>= 0.13),
9 dh-sequence-haskell,
10 ghc (>= 9.10),
11 ghc-prof,
12 libghc-src-exts-dev (>= 1.0.0),
13 libghc-src-exts-prof,
14 Build-Depends-Indep: ghc-doc,
15 libghc-src-exts-doc,
16 Standards-Version: 4.7.0
17 Homepage: https://hackage.haskell.org/package/groom
18 Vcs-Browser: https://salsa.debian.org/haskell-team/DHG_packages/tree/master/p/haskell-groom
19 Vcs-Git: https://salsa.debian.org/haskell-team/DHG_packages.git [p/haskell-groom]
20 X-Description: Pretty printing for well-behaved Show instances
21 Automatically derived Show instances are an easy way
22 to inspect data in your program. However, for large
23 data-structures, the resulting output lacks
24 whitespace, making it unreadable. Groom offers an
25 replacement to `show' called `groom' which attempts
26 to pretty-print the output of `show'. For example:
27 .
28 > let x = parseExp "foobar 1 [1,2]"
29 > in do
30 > putStrLn (show x)
31 > putStrLn (groom x)
32 .
33 results in:
34 .
35 > ParseOk (App (App (Var (UnQual (Ident "foobar"))) (Lit (Int 1))) (List [Lit (Int 1),Lit (Int 2)]))
36 > ParseOk
37 > (App (App (Var (UnQual (Ident "foobar"))) (Lit (Int 1)))
38 > (List [Lit (Int 1), Lit (Int 2)]))
39 .
40 Groom works only on Show instances that output valid
41 Haskell code; if Groom can't understand its input,
42 it will not make any changes.
43
44 Package: libghc-groom-dev
45 Architecture: any
46 Depends: ${haskell:Depends},
47 ${misc:Depends},
48 ${shlibs:Depends},
49 Recommends: ${haskell:Recommends},
50 Suggests: ${haskell:Suggests},
51 Conflicts: ${haskell:Conflicts},
52 Provides: ${haskell:Provides},
53 Description: ${haskell:ShortDescription}${haskell:ShortBlurb}
54 ${haskell:LongDescription}
55 .
56 ${haskell:Blurb}
57
58 Package: libghc-groom-prof
59 Architecture: any
60 Depends: ${haskell:Depends},
61 ${misc:Depends},
62 Recommends: ${haskell:Recommends},
63 Suggests: ${haskell:Suggests},
64 Conflicts: ${haskell:Conflicts},
65 Provides: ${haskell:Provides},
66 Description: ${haskell:ShortDescription}${haskell:ShortBlurb}
67 ${haskell:LongDescription}
68 .
69 ${haskell:Blurb}
70
71 Package: libghc-groom-doc
72 Architecture: all
73 Section: doc
74 Depends: ${haskell:Depends},
75 ${misc:Depends},
76 Recommends: ${haskell:Recommends},
77 Suggests: ${haskell:Suggests},
78 Conflicts: ${haskell:Conflicts},
79 Description: ${haskell:ShortDescription}${haskell:ShortBlurb}
80 ${haskell:LongDescription}
81 .
82 ${haskell:Blurb}
83
84 Package: haskell-groom-utils
85 Architecture: any
86 Section: misc
87 Depends: ${haskell:Depends},
88 ${misc:Depends},
89 ${shlibs:Depends},
90 Recommends: ${haskell:Recommends},
91 Suggests: ${haskell:Suggests},
92 Conflicts: ${haskell:Conflicts},
93 Provides: ${haskell:Provides},
94 Description: ${haskell:ShortDescription}${haskell:ShortBlurb}
95 ${haskell:LongDescription}
96 .
97 ${haskell:Blurb}