-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdata-stringmap.cabal
145 lines (117 loc) · 3.81 KB
/
data-stringmap.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
name: data-stringmap
version: 1.0.1.2
license: MIT
license-file: LICENSE
author: Uwe Schmidt, Sebastian Philipp
maintainer: Uwe Schmidt ([email protected]), Sebastian Philipp ([email protected])
bug-reports: https://github.com/sebastian-philipp/StringMap/issues
synopsis: An efficient implementation of maps from strings to arbitrary values
category: Data Structures
description: An efficient implementation of maps from strings to arbitrary values.
Values can associated with an arbitrary byte key.
Searching for keys is very fast, but
the prefix tree probably consumes more memory than
"Data.Map". The main differences are the special
'prefixFind' functions, which can be used to perform prefix queries.
build-type: Simple
cabal-version: >= 1.10
extra-source-files:
tests/*.hs
benchmarks/*.hs
flag with-sizeable
default: False
manual: True
-- disable with cabal test -f-test-properties
flag test-properties
default: True
manual: True
-- enable with cabal test -ftest-strict
flag test-strict
default: False
manual: True
source-repository head
type: git
location: https://github.com/sebastian-philipp/StringMap.git
library
build-depends:
base >= 4.5 && < 5
, deepseq >= 1.2 && < 2
, binary >= 0.5 && < 1
, containers >= 0.4 && < 1
ghc-options: -O2 -Wall -fwarn-tabs -fno-warn-unused-binds
exposed-modules:
Data.StringMap
Data.StringMap.Lazy
Data.StringMap.Strict
Data.StringMap.StringSet
Data.StringMap.Types
Data.StringMap.Base
Data.StringMap.Dim2Search
other-modules:
Data.StringMap.FuzzySearch
default-language:
Haskell2010
default-extensions:
CPP
other-extensions:
DeriveDataTypeable
, BangPatterns
if flag(test-strict)
build-depends:
bytestring == 0.10.0.2
if flag(with-sizeable)
build-depends:
data-size >= 0.1.1.3 && < 1
cpp-options:
-Dsizeable=1
test-suite properties
type: exitcode-stdio-1.0
main-is: StringMapProperties.hs
if !flag(test-properties)
buildable: False
else
build-depends:
data-stringmap
, base
, containers
, deepseq
, ghc-heap-view >= 0.5
, HUnit >= 1.2
, QuickCheck >= 2.4
, test-framework >= 0.6
, test-framework-quickcheck2 >= 0.2
, test-framework-hunit >= 0.2
if flag(with-sizeable)
build-depends:
data-size
default-language:
Haskell2010
ghc-options: -Wall -fwarn-tabs
hs-source-dirs:
tests
test-suite strict
type: exitcode-stdio-1.0
main-is: StringMapStrict.hs
if !flag(test-strict)
buildable: False
else
build-depends:
data-stringmap
, base
, bytestring == 0.10.0.2
, containers
, deepseq
, ghc-heap-view >= 0.5
, HUnit >= 1.2
, QuickCheck >= 2.4
, test-framework >= 0.6
, test-framework-quickcheck2 >= 0.2
, test-framework-hunit >= 0.2
if flag(with-sizeable)
build-depends:
data-size
default-language:
Haskell2010
ghc-options: -Wall -fwarn-tabs
hs-source-dirs:
tests