-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathac-library-hs.cabal
266 lines (247 loc) · 6.4 KB
/
ac-library-hs.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
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
cabal-version: 3.4
name: ac-library-hs
-- PVP summary: +-+------- breaking API changes
-- | | +----- non-breaking API additions
-- | | | +--- code changes with no API change
version: 1.2.1.0
synopsis: Data structures and algorithms
description:
Haskell port of [ac-library](https://github.com/atcoder/ac-library), a library for competitive
programming on [AtCoder](https://atcoder.jp/).
- Functions primarily use half-open interval \([l, r)\).
- The `Extra` module contains additional utilities beyond the original C++ library.
category: Algorithms, Data Structures
license: CC0-1.0
license-file: LICENSE
author: toyboot4e <[email protected]>
maintainer: toyboot4e <[email protected]>
build-type: Simple
extra-doc-files:
CHANGELOG.md
examples/README.md
README.md
tested-with: GHC ==9.8.4
source-repository head
type: git
location: https://github.com/toyboot4e/ac-library-hs.git
common warnings
ghc-options: -Wall
common dependencies
build-depends:
, base >=4.9 && <4.22
, bitvec <1.2
, bytestring <0.14
, primitive >=0.6.4.0 && <0.10
, vector >=0.13.0 && <0.14
, vector-algorithms <0.10
, wide-word <0.2
default-language: GHC2021
-- compatible with GHC2024:
default-extensions:
DataKinds
DerivingStrategies
DisambiguateRecordFields
ExplicitNamespaces
GADTs
LambdaCase
MonoLocalBinds
RoleAnnotations
library
import: warnings
import: dependencies
exposed-modules:
AtCoder.Convolution
AtCoder.Dsu
AtCoder.Extra.Bisect
AtCoder.Extra.DynLazySegTree
AtCoder.Extra.DynLazySegTree.Persistent
AtCoder.Extra.DynLazySegTree.Raw
AtCoder.Extra.DynSegTree
AtCoder.Extra.DynSegTree.Raw
AtCoder.Extra.DynSegTree.Persistent
AtCoder.Extra.DynSparseSegTree
AtCoder.Extra.DynSparseSegTree.Raw
AtCoder.Extra.DynSparseSegTree.Persistent
AtCoder.Extra.Graph
AtCoder.Extra.HashMap
AtCoder.Extra.IntervalMap
AtCoder.Extra.IntMap
AtCoder.Extra.IntSet
AtCoder.Extra.Math
AtCoder.Extra.Monoid
AtCoder.Extra.Monoid.Affine1
AtCoder.Extra.Monoid.Mat2x2
AtCoder.Extra.Monoid.RangeAdd
AtCoder.Extra.Monoid.RangeSet
AtCoder.Extra.Monoid.RollingHash
AtCoder.Extra.Monoid.V2
AtCoder.Extra.MultiSet
AtCoder.Extra.Pdsu
AtCoder.Extra.Pool
AtCoder.Extra.Semigroup.Matrix
AtCoder.Extra.Semigroup.Permutation
AtCoder.Extra.Seq
AtCoder.Extra.Seq.Map
AtCoder.Extra.Seq.Raw
AtCoder.Extra.Tree
AtCoder.Extra.Tree.Hld
AtCoder.Extra.Tree.Lct
AtCoder.Extra.Tree.TreeMonoid
AtCoder.Extra.WaveletMatrix
AtCoder.Extra.WaveletMatrix.BitVector
AtCoder.Extra.WaveletMatrix.Raw
AtCoder.Extra.WaveletMatrix2d
AtCoder.FenwickTree
AtCoder.Internal.Assert
AtCoder.Internal.Barrett
AtCoder.Internal.Bit
AtCoder.Internal.Buffer
AtCoder.Internal.Convolution
AtCoder.Internal.Csr
AtCoder.Internal.GrowVec
AtCoder.Internal.Math
AtCoder.Internal.McfCsr
AtCoder.Internal.MinHeap
AtCoder.Internal.Queue
AtCoder.Internal.Scc
AtCoder.Internal.String
AtCoder.LazySegTree
AtCoder.Math
AtCoder.MaxFlow
AtCoder.MinCostFlow
AtCoder.ModInt
AtCoder.Scc
AtCoder.SegTree
AtCoder.String
AtCoder.TwoSat
-- other-modules:
-- other-extensions:
hs-source-dirs: src
executable example-lazy-segtree
import: warnings
import: dependencies
hs-source-dirs: examples
main-is: LazySegTree.hs
build-depends: ac-library-hs
test-suite ac-library-hs-test
import: warnings
import: dependencies
other-modules:
Tests.Convolution
Tests.Dsu
Tests.Extra.Bisect
Tests.Extra.DynLazySegTree
Tests.Extra.DynLazySegTree.Persistent
Tests.Extra.DynSegTree
Tests.Extra.DynSegTree.Persistent
Tests.Extra.DynSparseSegTree
Tests.Extra.DynSparseSegTree.Persistent
Tests.Extra.Graph
Tests.Extra.HashMap
Tests.Extra.IntervalMap
Tests.Extra.IntMap
Tests.Extra.IntSet
Tests.Extra.Math
Tests.Extra.Monoid
Tests.Extra.MultiSet
Tests.Extra.Semigroup.Matrix
Tests.Extra.Semigroup.Permutation
Tests.Extra.Seq
Tests.Extra.Seq.Map
Tests.Extra.WaveletMatrix
Tests.Extra.WaveletMatrix.BitVector
Tests.Extra.WaveletMatrix.Raw
Tests.Extra.WaveletMatrix2d
Tests.FenwickTree
Tests.Internal.Bit
Tests.Internal.Buffer
Tests.Internal.GrowVec
Tests.Internal.Math
Tests.Internal.McfCsr
Tests.Internal.MinHeap
Tests.Internal.Queue
Tests.LazySegTree
Tests.LazySegTreeStress
Tests.Math
Tests.MaxFlow
Tests.MinCostFlow
Tests.ModInt
Tests.Scc
Tests.SegTree
Tests.String
Tests.TwoSat
Tests.Util
Util
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Main.hs
build-depends:
, ac-library-hs
, containers
, hspec
, mtl
, QuickCheck
, quickcheck-classes
, random
, tasty
, tasty-hspec
, tasty-hunit
, tasty-quickcheck
, tasty-rerun
, transformers
, unordered-containers
benchmark ac-library-hs-benchmark
import: warnings
import: dependencies
ghc-options: -O2
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: benchmarks
other-modules:
Bench.AddMod
Bench.Matrix
Bench.ModInt
Bench.PowMod
BenchLib.AddMod
BenchLib.Matrix
BenchLib.ModInt.ModIntNats
BenchLib.ModInt.Modulus
BenchLib.MulMod.Barrett64
BenchLib.MulMod.BarrettWideWord
BenchLib.MulMod.Montgomery
BenchLib.PowMod
build-depends:
, ac-library-hs
, base
, criterion
, mtl
, random
, tagged
, transformers
test-suite benchlib-test
import: warnings
import: dependencies
other-modules:
BenchLib.AddMod
BenchLib.ModInt.ModIntNats
BenchLib.ModInt.Modulus
BenchLib.MulMod.Barrett64
BenchLib.MulMod.BarrettWideWord
BenchLib.MulMod.Montgomery
BenchLib.PowMod
Tests.MulMod
type: exitcode-stdio-1.0
hs-source-dirs: benchmarks
main-is: TestMain.hs
build-depends:
, ac-library-hs
, hspec
, mtl
, QuickCheck
, random
, tagged
, tasty
, tasty-hunit
, tasty-quickcheck
, tasty-rerun
-- , quickcheck-instances