-
Notifications
You must be signed in to change notification settings - Fork 31
/
pretty.cabal
87 lines (82 loc) · 2.5 KB
/
pretty.cabal
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
79
80
81
82
83
84
85
86
87
name: pretty
version: 1.1.3.6
synopsis: Pretty-printing library
description:
This package contains a pretty-printing library, a set of API's
that provides a way to easily print out text in a consistent
format of your choosing. This is useful for compilers and related
tools.
.
This library was originally designed by John Hughes's and has since
been heavily modified by Simon Peyton Jones.
license: BSD3
license-file: LICENSE
category: Text
maintainer: David Terei <[email protected]>
homepage: http://github.com/haskell/pretty
bug-reports: http://github.com/haskell/pretty/issues
stability: Stable
build-type: Simple
Extra-Source-Files: README.md CHANGELOG.md
Cabal-Version: >= 1.8
Tested-with:
GHC ==7.4.2
|| ==7.6.3
|| ==7.8.4
|| ==7.10.3
|| ==8.0.2
|| ==8.2.2
|| ==8.4.4
|| ==8.6.5
|| ==8.8.4
|| ==8.10.3
|| ==9.0.1
source-repository head
type: git
location: http://github.com/haskell/pretty.git
Library
hs-source-dirs: src
exposed-modules:
Text.PrettyPrint
Text.PrettyPrint.HughesPJ
Text.PrettyPrint.HughesPJClass
Text.PrettyPrint.Annotated
Text.PrettyPrint.Annotated.HughesPJ
Text.PrettyPrint.Annotated.HughesPJClass
build-depends: base >= 4.5 && < 5,
deepseq >= 1.1
if impl(ghc)
build-depends: ghc-prim
extensions: CPP, BangPatterns, DeriveGeneric
ghc-options: -Wall -fwarn-tabs
Test-Suite test-pretty
type: exitcode-stdio-1.0
hs-source-dirs: tests
src
build-depends: base >= 4.5 && < 5,
deepseq >= 1.1,
ghc-prim,
QuickCheck >= 2.5 && <3
main-is: Test.hs
other-modules:
Text.PrettyPrint.Annotated.HughesPJ
Text.PrettyPrint.HughesPJ
PrettyTestVersion
TestGenerators
TestStructures
TestUtils
UnitLargeDoc
UnitPP1
UnitT3911
UnitT32
extensions: CPP, BangPatterns, DeriveGeneric
include-dirs: src/Text/PrettyPrint/Annotated
ghc-options: -rtsopts -with-rtsopts=-K2M
benchmark pretty-bench
type: exitcode-stdio-1.0
main-is: Bench.hs
hs-source-dirs: bench
ghc-options: -Wall -fwarn-tabs -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates -O2 -threaded -rtsopts -with-rtsopts=-N1 -with-rtsopts=-s -with-rtsopts=-qg
build-depends: base >= 4.5 && < 5
, criterion
, pretty