/var/lib/ghc/package.conf.d/data-pprint-0.2.3.conf is in libghc-data-pprint-dev 0.2.3-1+b1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 77 78 | name: data-pprint
version: 0.2.3
id: data-pprint-0.2.3-2f7a9a09fe0c0e94721665fd900e40ef
license: BSD3
copyright:
maintainer: divipp@gmail.com
stability: beta
homepage:
package-url:
synopsis: Prettyprint and compare Data values
description: Prettyprint and compare Data values.
.
* Size limit for the output
.
* Time limit for the computation
.
* Escape exceptions
.
* Do not escape unicode characters
.
* Comparison: Highlight the first difference
.
* Comparison: Yes, No or Maybe results
.
Probably you need only the 'pprint' and '(===)' functions from the "Data.PPrint" module.
.
Usage examples:
.
> pprint [1..]
> pprintTo 10000 $ repeat [1..]
> pprint $ iterate (*10) 1
> pprint $ map length $ replicate 5 [1..] ++ repeat []
> pprint [2 `div` 0, error "xxx", 18, 4 `div` 0]
> [1..10] === reverse [10,9..1]
> [1..10] === reverse [10..1]
> reverse [10..] === [1..]
> [1..] === [1..99] ++ [101..]
> ([1..], [1..]) === ([1..], [1..100])
> (error "x", [1..]) === (0 `div` 0, reverse [1..])
> error ("xx" ++ show (length [1..])) === 1
> error ("xx" ++ error "yy") === 1
> (error $ unlines $ replicate 300 "xxxxxxxxxxxxxxxxxxxxxxxxxxx") === 1
> pprint ['a'..]
> pprint $ "hello" ++ [error "x"] ++ "world!"
.
See also <http://pnyf.inf.elte.hu/fp/Show_en.xml>
.
Changes since 0.1: Refactoring, proper handling of nested errors
category: Testing, Text
author: Péter Diviánszky
exposed: True
exposed-modules: Data.PPrint Data.Data.Eval Data.Data.Compare
Data.Data.GenRep Data.Data.GenRep.Functions Data.Data.GenRep.Doc
Control.Exception.Pure System.SimpleTimeout
System.SimpleTimeout.Limits System.IO.Parallel
hidden-modules:
trusted: False
import-dirs: /usr/lib/haskell-packages/ghc/lib/data-pprint-0.2.3/ghc-7.6.3
library-dirs: /usr/lib/haskell-packages/ghc/lib/data-pprint-0.2.3/ghc-7.6.3
hs-libraries: HSdata-pprint-0.2.3
extra-libraries:
extra-ghci-libraries:
include-dirs:
includes:
depends: base-4.6.0.1-8aa5d403c45ea59dcd2c39f123e27d57
deepseq-1.3.0.1-5cc4cd89bdc2e8f6db1833d95ec36926
mtl-2.1.2-94c72af955e94b8d7b2f359dadd0cb62
parallel-3.2.0.4-6b28f3e9db87f9045e4a465cbf1af2ba
pretty-1.1.1.0-66181c695e6a2e173ba2088cf55cc396
time-1.4.0.1-10dc4804a19dc0000fab79908f1a9f50
hugs-options:
cc-options:
ld-options:
framework-dirs:
frameworks:
haddock-interfaces: /usr/lib/ghc-doc/haddock/data-pprint-0.2.3/data-pprint.haddock
haddock-html: /usr/share/doc/libghc-data-pprint-doc/html/
|