forked from haskell/containers
-
Notifications
You must be signed in to change notification settings - Fork 1
/
containers.cabal
176 lines (146 loc) · 4.9 KB
/
containers.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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
name: containers
version: 0.5.0.0
license: BSD3
license-file: LICENSE
maintainer: [email protected]
bug-reports: https://github.com/haskell/containers/issues
synopsis: Assorted concrete container types
category: Data Structures
description:
This package contains efficient general-purpose implementations
of various basic immutable container types. The declared cost of
each operation is either worst-case or amortized, but remains
valid even if structures are shared.
build-type: Simple
cabal-version: >=1.8
extra-source-files: include/Typeable.h
source-repository head
type: git
location: https://github.com/haskell/containers.git
Library
build-depends: base >= 4.2 && < 5, array, deepseq >= 1.2 && < 1.4
if impl(ghc>=6.10)
build-depends: ghc-prim
ghc-options: -O2 -Wall
exposed-modules:
Data.IntMap
Data.IntMap.Lazy
Data.IntMap.Strict
Data.IntSet
Data.Map
Data.Map.Lazy
Data.Map.Strict
Data.Set
if !impl(nhc98)
exposed-modules:
Data.Graph
Data.Sequence
Data.Tree
other-modules:
Data.IntMap.Base
Data.Map.Base
Data.StrictPair
include-dirs: include
if impl(ghc<7.0)
extensions: MagicHash, DeriveDataTypeable, StandaloneDeriving, Rank2Types
-------------------
-- T E S T I N G --
-------------------
-- Every test-suite contains the build-depends and options of the library,
-- plus the testing stuff.
-- Because the test-suites cannot contain conditionals in GHC 7.0, the extensions
-- are switched on for every compiler to allow GHC < 7.0 to compile the tests
-- (because GHC < 7.0 cannot handle conditional LANGUAGE pragmas).
-- When testing with GHC < 7.0 is not needed, the extensions should be removed.
Test-suite map-lazy-properties
hs-source-dirs: tests, .
main-is: map-properties.hs
type: exitcode-stdio-1.0
cpp-options: -DTESTING
build-depends: base >= 4.2 && < 5, array, deepseq >= 1.2 && < 1.4, ghc-prim
ghc-options: -O2
extensions: MagicHash, DeriveDataTypeable, StandaloneDeriving, Rank2Types
build-depends:
HUnit,
QuickCheck,
test-framework,
test-framework-hunit,
test-framework-quickcheck2
Test-suite map-strict-properties
hs-source-dirs: tests, .
main-is: map-properties.hs
type: exitcode-stdio-1.0
cpp-options: -DTESTING -DSTRICT
build-depends: base >= 4.2 && < 5, array, deepseq >= 1.2 && < 1.4, ghc-prim
ghc-options: -O2
extensions: MagicHash, DeriveDataTypeable, StandaloneDeriving, Rank2Types
build-depends:
HUnit,
QuickCheck,
test-framework,
test-framework-hunit,
test-framework-quickcheck2
Test-suite set-properties
hs-source-dirs: tests, .
main-is: set-properties.hs
type: exitcode-stdio-1.0
cpp-options: -DTESTING
build-depends: base >= 4.2 && < 5, array, deepseq >= 1.2 && < 1.4, ghc-prim
ghc-options: -O2
extensions: MagicHash, DeriveDataTypeable, StandaloneDeriving, Rank2Types
build-depends:
QuickCheck,
test-framework,
test-framework-quickcheck2
Test-suite intmap-lazy-properties
hs-source-dirs: tests, .
main-is: intmap-properties.hs
type: exitcode-stdio-1.0
cpp-options: -DTESTING
build-depends: base >= 4.2 && < 5, array, deepseq >= 1.2 && < 1.4, ghc-prim
ghc-options: -O2
extensions: MagicHash, DeriveDataTypeable, StandaloneDeriving, Rank2Types
build-depends:
HUnit,
QuickCheck,
test-framework,
test-framework-hunit,
test-framework-quickcheck2
Test-suite intmap-strict-properties
hs-source-dirs: tests, .
main-is: intmap-properties.hs
type: exitcode-stdio-1.0
cpp-options: -DTESTING -DSTRICT
build-depends: base >= 4.2 && < 5, array, deepseq >= 1.2 && < 1.4, ghc-prim
ghc-options: -O2
extensions: MagicHash, DeriveDataTypeable, StandaloneDeriving, Rank2Types
build-depends:
HUnit,
QuickCheck,
test-framework,
test-framework-hunit,
test-framework-quickcheck2
Test-suite intset-properties
hs-source-dirs: tests, .
main-is: intset-properties.hs
type: exitcode-stdio-1.0
cpp-options: -DTESTING
build-depends: base >= 4.2 && < 5, array, deepseq >= 1.2 && < 1.4, ghc-prim
ghc-options: -O2
extensions: MagicHash, DeriveDataTypeable, StandaloneDeriving, Rank2Types
build-depends:
QuickCheck,
test-framework,
test-framework-quickcheck2
Test-suite seq-properties
hs-source-dirs: tests, .
main-is: seq-properties.hs
type: exitcode-stdio-1.0
cpp-options: -DTESTING
build-depends: base >= 4.2 && < 5, array, deepseq >= 1.2 && < 1.4, ghc-prim
ghc-options: -O2
extensions: MagicHash, DeriveDataTypeable, StandaloneDeriving, Rank2Types
build-depends:
QuickCheck,
test-framework,
test-framework-quickcheck2