-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrbst.cabal
230 lines (207 loc) · 8.09 KB
/
rbst.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
cabal-version: >= 1.10
name: rbst
version: 0.0.0.1
build-type: Simple
license: MIT
license-file: LICENSE
author: Arnau Abella
maintainer: arnauabella@gmail.com
copyright: 2020 Arnau Abella
homepage: https://github.com/monadplus/rbst
bug-reports: https://github.com/monadplus/rbst/issues
synopsis: Randomized Binary Search Trees
description:
.
This package contains an implementation of a [Randomized
Binary Search Tree](https://www.cs.upc.edu/~conrado/research/papers/jacm-mr98.pdf).
.
Randomized Binary Search Trees are guaranteed to be /Random BST/ irrespective of the number
of @'insert'@ \/ @'delete'@ operations. This guarantees logarithmic time operations w.h.p. in the average case.
category: Data Structures
extra-source-files: README.md
CHANGELOG.md
tested-with: GHC == 8.8.3
source-repository head
type: git
location: https://github.com/monadplus/rbst.git
Library
default-language: Haskell2010
hs-source-dirs: src
exposed-modules: RBST
RBST.Pretty
other-modules: RBST.Internal
build-depends: base >=4.12 && <4.15,
bytestring >=0.10.8.2 && <0.11.0.0,
containers >=0.5.0.1 && <0.7,
deepseq >=1.4 && <1.5,
mersenne-random-pure64 >=0.2.2.0 && <0.3,
text >=1.2.3.0 && <2.0.0.0,
transformers >=0.5.0.0 && <0.6.0.0
ghc-options: -Wall
-Wincomplete-uni-patterns
-Wincomplete-record-updates
-Wcompat
-Widentities
-Wredundant-constraints
-Wpartial-fields
-fhide-source-paths
-freverse-errors
if impl(ghc >= 8.8.1)
ghc-options: -Wmissing-deriving-strategies
-Werror=missing-deriving-strategies
default-extensions: AllowAmbiguousTypes
BangPatterns
ConstraintKinds
DataKinds
DefaultSignatures
DeriveAnyClass
DeriveDataTypeable
DeriveFoldable
DeriveFunctor
DeriveGeneric
DeriveTraversable
DerivingStrategies
DerivingVia
DuplicateRecordFields
EmptyCase
EmptyDataDecls
FlexibleContexts
FlexibleInstances
FunctionalDependencies
GADTs
GeneralizedNewtypeDeriving
InstanceSigs
KindSignatures
LambdaCase
NamedFieldPuns
OverloadedLists
OverloadedStrings
PolyKinds
QuasiQuotes
RankNTypes
RecordWildCards
ScopedTypeVariables
StandaloneDeriving
TemplateHaskell
TupleSections
TypeApplications
TypeFamilies
TypeOperators
UndecidableInstances
RoleAnnotations
Test-suite rbst-tests
default-language: Haskell2010
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
other-modules: Test.Common
Test.RBST
Test.RBST.Cuts
Test.RBST.Laws
Test.RBST.Query
Test.RBST.SetOps
Test.RBST.Update
build-depends: rbst,
base,
hspec >=2.6.0 && <2.8,
hspec-expectations >=0.8.0 && <0.9,
hspec-core >=2.6.0 && <2.8,
QuickCheck >=2.12 && <2.14
ghc-options: -Wall
-Wincomplete-uni-patterns
-Wincomplete-record-updates
-Wcompat
-Widentities
-Wredundant-constraints
-Wpartial-fields
-fhide-source-paths
-freverse-errors
if impl(ghc >= 8.8.1)
ghc-options: -Wmissing-deriving-strategies
-Werror=missing-deriving-strategies
default-extensions: AllowAmbiguousTypes
BangPatterns
ConstraintKinds
DataKinds
DefaultSignatures
DeriveAnyClass
DeriveDataTypeable
DeriveFoldable
DeriveFunctor
DeriveGeneric
DeriveTraversable
DerivingStrategies
DerivingVia
DuplicateRecordFields
EmptyCase
EmptyDataDecls
FlexibleContexts
FlexibleInstances
FunctionalDependencies
GADTs
GeneralizedNewtypeDeriving
InstanceSigs
KindSignatures
LambdaCase
NamedFieldPuns
OverloadedLists
OverloadedStrings
PolyKinds
QuasiQuotes
RankNTypes
RecordWildCards
ScopedTypeVariables
StandaloneDeriving
TemplateHaskell
TupleSections
TypeApplications
TypeFamilies
TypeOperators
UndecidableInstances
RoleAnnotations
Test-suite rbst-doctest
default-language: Haskell2010
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Doctest.hs
build-depends: base,
doctest >=0.16 && <0.17,
Glob >=0.9 && <0.11
ghc-options: -Wall
-Wincomplete-uni-patterns
-Wincomplete-record-updates
-Wcompat
-Widentities
-Wredundant-constraints
-Wpartial-fields
-fhide-source-paths
-freverse-errors
-threaded
if impl(ghc >= 8.8.1)
ghc-options: -Wmissing-deriving-strategies
-Werror=missing-deriving-strategies
Benchmark rbst-bench
default-language: Haskell2010
type: exitcode-stdio-1.0
hs-source-dirs: benchmark
main-is: Benchmark.hs
build-depends: rbst,
base,
gauge >=0.2.4 && <0.3,
mwc-random >= 0.14.0 && <0.15
ghc-options: -Wall
-Wincomplete-uni-patterns
-Wincomplete-record-updates
-Wcompat
-Widentities
-Wredundant-constraints
-Wpartial-fields
-fhide-source-paths
-freverse-errors
-O2
-threaded
-rtsopts
-with-rtsopts=-N
if impl(ghc >= 8.8.1)
ghc-options: -Wmissing-deriving-strategies
-Werror=missing-deriving-strategies