-
Notifications
You must be signed in to change notification settings - Fork 1
/
toy-lib.cabal
335 lines (319 loc) · 9.28 KB
/
toy-lib.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
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
cabal-version: 3.4
name: toy-lib
version: 0.1.0.0
description: My Haskell library for AtCoder contests
homepage: https://github.com/toyboot4e/toy-lib#readme
bug-reports: https://github.com/toyboot4e/toy-lib/issues
author: toyboot4e
maintainer: [email protected]
copyright: 2023 toyboot4e
license: MIT
build-type: Simple
extra-source-files:
CHANGELOG.md
README.md
flag atcoder
description: Indicates this is on the AtCoder judge server
default: False
manual: True
flag debug
description: Indicates if this is run with debug output
default: False
manual: True
common deps
build-depends:
, adjunctions ^>=4.4.2
, array ==0.5.4.0
, attoparsec ^>=0.14.4
, base ^>=4.17.2.0
, bifunctors ^>=5.6.1
, binary ^>=0.8.9.1
, bitvec ^>=1.1.4.0
, bytestring ^>=0.11.4.0
, Cabal ^>=3.10.1.0
, Cabal-syntax ^>=3.10.1.0
, comonad ^>=5.0.8
, containers ^>=0.6.7
, contravariant ^>=1.5.5
, deepseq ==1.4.8.0
, directory >=1.3.7.1 && <1.3.8.0
, distributive ^>=0.6.2.1
, exceptions ^>=0.10.5
, extra ^>=1.7.13
, fgl ^>=5.8.1.1
, filepath >=1.4.2.2 && <1.4.99
, free ^>=5.2
, ghc-bignum ==1.3
, ghc-boot-th ^>=9.4.5
, ghc-prim ^>=0.9.0
, hashable ^>=1.4.2.0
, heaps ^>=0.4
, indexed-traversable ^>=0.1.2.1
, indexed-traversable-instances ^>=0.1.1.2
, integer-gmp ^>=1.1
, integer-logarithms ^>=1.0.3.1
, kan-extensions ^>=5.2.5
, lens ^>=5.2.2
, linear-base ^>=0.3.1
, list-t ^>=1.0.5.6
, massiv ^>=1.0.4.0
, megaparsec ^>=9.4.1
, mono-traversable ^>=1.0.15.3
, mtl ^>=2.3.1
, mutable-containers ^>=0.3.4.1
, mwc-random ^>=0.15.0.2
, parallel ^>=3.2.2.0
, parsec ^>=3.1.16.1
, parser-combinators ^>=1.3.0
, pretty ^>=1.1.3.6
, primitive ^>=0.8.0.0
, process ^>=1.6.17.0
, profunctors ^>=5.6.2
, psqueues ^>=0.2.7.3
, QuickCheck ^>=2.14.3
, random ^>=1.2.1.1
, reflection ^>=2.1.7
, regex-tdfa ^>=1.3.2.1
, safe-exceptions ^>=0.1.7.3
, scientific ^>=0.3.7.0
, semialign ^>=1.3
, semigroupoids ^>=6.0.0.1
, split ^>=0.2.3.5
, stm ^>=2.5.1.0
, strict ^>=0.5
, strict-lens ^>=0.4.0.3
, tagged ^>=0.8.7
, template-haskell ^>=2.19.0.0
, text ^>=2.0.2
, tf-random ^>=0.5
, these ^>=1.2
, these-lens ^>=1.0.1.3
, time ^>=1.12.2
, transformers ^>=0.6.1.0
, trifecta ^>=2.1.2
, unboxing-vector ^>=0.2.0.0
, unix ==2.7.3
, unordered-containers ^>=0.2.19.1
, utility-ht ^>=0.0.17
, vector ^>=0.13.0.0
, vector-algorithms ^>=0.9.0.1
, vector-stream ^>=0.1.0.0
, vector-th-unbox ^>=0.2.2
, xhtml ^>=3000.2.2.1
if flag(atcoder)
cpp-options: -DATCODER
if flag(debug)
cpp-options: -DDEBUG
common exts2021
default-extensions:
NoImportQualifiedPost
BangPatterns
BinaryLiterals
ConstrainedClassMethods
ConstraintKinds
DeriveDataTypeable
DeriveFoldable
DeriveFunctor
DeriveGeneric
DeriveLift
DeriveTraversable
DoAndIfThenElse
EmptyCase
EmptyDataDecls
EmptyDataDeriving
ExistentialQuantification
ExplicitForAll
FieldSelectors
FlexibleContexts
FlexibleInstances
ForeignFunctionInterface
GADTSyntax
GeneralisedNewtypeDeriving
HexFloatLiterals
ImplicitPrelude
InstanceSigs
KindSignatures
MonomorphismRestriction
MultiParamTypeClasses
NamedFieldPuns
NamedWildCards
NumericUnderscores
PatternGuards
PolyKinds
PostfixOperators
RankNTypes
RelaxedPolyRec
ScopedTypeVariables
StandaloneDeriving
StandaloneKindSignatures
StarIsType
TraditionalRecordSyntax
TupleSections
TypeApplications
TypeOperators
TypeSynonymInstances
source-repository head
type: git
location: https://github.com/toyboot4e/toy-lib
library
import: deps, exts2021
default-language: Haskell2010
-- updated with `cabal-fmt -i toy-lib.cabal`:
-- cabal-fmt: expand src
exposed-modules:
Algorithm.Bisect
Algorithm.Mo
Algorithm.SlideMin
Algorithm.TwoPointers
Data.BinaryHeap
Data.BinaryLifting
Data.Buffer
Data.ByteString.SuffixArray
Data.ByteString.ZFunction
Data.Core.Group
Data.Core.SegmentAction
Data.Core.SemigroupAction
Data.Core.Semiring
Data.DenseHashMap
Data.DenseIntervalMap
Data.DenseIntMap
Data.DenseIntSet
Data.FenwickTree
Data.Graph.Alias
Data.Graph.Generic
Data.Graph.MaxFlow
Data.Graph.MinCostFlow
Data.Graph.Sparse
Data.Graph.Tree.Hld
Data.Graph.Tree.Lca
Data.Graph.Tree.LCT
Data.Graph.Tree.TreeSG
Data.Graph.TwoSat
Data.Instances.A2
Data.Instances.A3
Data.Instances.Affine2d
Data.Instances.T2
Data.IntervalMap
Data.IntervalSet
Data.ModInt
Data.MultiSet
Data.MultiSet2
Data.MultiSetVec
Data.Pool
Data.RollingHash
Data.SafeList
Data.SegmentTree.Beats
Data.SegmentTree.Beats.SumMinMax
Data.SegmentTree.Lazy
Data.SegmentTree.Strict
Data.SegmentTree.Util
Data.SizedList
Data.Slide
Data.SplayMap
Data.SplaySeq
Data.SplaySeq.Raw
Data.Sqrd
Data.UnionFind.Mutable
Data.UnionFind.Potencial
Data.UnionFind.Sparse
Data.Utils.Unindex
Data.Vector.CSum
Data.Vector.Extra
Data.Vector.InvNum
Data.Vector.IxVector
Data.WaveletMatrix
Data.WaveletMatrix.BitVector
Data.WaveletMatrix.Raw
Data.WaveletMatrix.SegTree
Heuristic.Randoms
Math.BitSet
Math.Digits
Math.DigitsVector
Math.Divisors
Math.Exgcd
Math.FloorSum
Math.Manhattan
Math.Matrix
Math.NTT
Math.PowMod
Math.Primes
Math.Stimes
ToyLib.Compat
ToyLib.Contest.Bisect
ToyLib.Contest.Graph
ToyLib.Contest.Grid
ToyLib.Contest.LazySegmentTree
ToyLib.Contest.Prelude
ToyLib.Contest.Tree
ToyLib.Debug
ToyLib.Debug.Grid
ToyLib.Debug.STree
ToyLib.Debug.UF
ToyLib.DP
ToyLib.Macro
ToyLib.Parser
ToyLib.Parser.Grid
ToyLib.Prelude
ToyLib.Procedural
ToyLib.ShowBSB
ToyLib.ShowBSB.Grid
hs-source-dirs: src
ghc-options:
-Wall -Wcompat -Widentities -Wincomplete-record-updates
-Wincomplete-uni-patterns -Wmissing-export-lists
-Wmissing-home-modules -Wpartial-fields -Wredundant-constraints
-Wno-missing-export-lists
executable toy-lib-exe
import: deps
default-language: GHC2021
main-is: Main.hs
hs-source-dirs: app
other-modules:
Lib
Lib.Parse
Lib.Write
build-depends:
, haskell-src-exts
, temporary
, toy-lib
ghc-options: -Wall
test-suite toy-lib-test
-- import: deps
default-language: GHC2021
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: tests
other-modules:
Tests.Bisect
Tests.IntervalMap
Tests.NTT
Tests.PowMod
Tests.PUnionFind
Tests.Slide
Tests.SlideMin
Tests.SplayMap
Tests.SplaySeq
Tests.SuffixArray
Tests.SumMinMax
Tests.Util
Tests.WaveletMatrix
Tests.ZFunction
build-depends:
, base ^>=4.17.2.0
, bitvec ^>=1.1.4.0
, bytestring ^>=0.11.4.0
, containers ^>=0.6.7
, extra ^>=1.7.13
, primitive ^>=0.8.0.0
, QuickCheck ^>=2.14.3
, tasty ^>=1.4.3
, tasty-hspec ^>=1.2.0.3
, tasty-hunit ^>=0.10.0.3
, tasty-quickcheck ^>=0.10.2
, toy-lib
, transformers ^>=0.6.1.0
, utility-ht ^>=0.0.17
, vector ^>=0.13.0.0
, vector-algorithms ^>=0.9.0.1
-- , toy-lib
ghc-options: -Wall