-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathhw-prim.cabal
169 lines (158 loc) · 7.88 KB
/
hw-prim.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
cabal-version: 2.2
name: hw-prim
version: 0.6.3.2
synopsis: Primitive functions and data types
description: Primitive functions and data types.
category: Data
stability: Experimental
homepage: http://github.com/haskell-works/hw-prim#readme
bug-reports: https://github.com/haskell-works/hw-prim/issues
author: John Ky
maintainer: [email protected]
copyright: 2016-2021 John Ky
license: BSD-3-Clause
license-file: LICENSE
tested-with: GHC == 9.8.1, GHC == 9.6.3, GHC == 9.4.8, GHC == 9.2.8, GHC == 9.0.2, GHC == 8.10.7, GHC == 8.8.4
build-type: Simple
extra-source-files: README.md
source-repository head
type: git
location: https://github.com/haskell-works/hw-prim
flag bounds-checking-enabled
description: Enable bmi2 instruction set
manual: False
default: False
common base { build-depends: base >= 4.11 && < 5 }
common bytestring { build-depends: bytestring >= 0.9 && < 0.13 }
common criterion { build-depends: criterion >= 1.2 && < 1.7 }
common deepseq { build-depends: deepseq >= 1.4 && < 1.6 }
common directory { build-depends: directory >= 1.2 && < 1.4 }
common doctest { build-depends: doctest >= 0.16.2 && < 0.23 }
common doctest-discover { build-depends: doctest-discover >= 0.2 && < 0.3 }
common exceptions { build-depends: exceptions >= 0.8 && < 0.11 }
common ghc-prim { build-depends: ghc-prim >= 0.5 && < 0.12 }
common hedgehog { build-depends: hedgehog >= 1.0 && < 1.5 }
common hspec { build-depends: hspec >= 2.4 && < 3 }
common hw-hspec-hedgehog { build-depends: hw-hspec-hedgehog >= 0.1 && < 0.2 }
common mmap { build-depends: mmap >= 0.5 && < 0.6 }
common QuickCheck { build-depends: QuickCheck >= 2.10 && < 2.15 }
common semigroups { build-depends: semigroups >= 0.8.4 && < 0.21 }
common transformers { build-depends: transformers >= 0.4 && < 0.7 }
common unliftio-core { build-depends: unliftio-core >= 0.1.2.0 && < 0.3 }
common vector { build-depends: vector >= 0.12 && < 0.14 }
common hw-prim
build-depends: hw-prim
common config
default-language: Haskell2010
ghc-options: -Wall -O2 -msse4.2
if flag(bounds-checking-enabled)
cpp-options: -DBOUNDS_CHECKING_ENABLED
library
import: base, config
, bytestring
, deepseq
, ghc-prim
, mmap
, transformers
, unliftio-core
, vector
exposed-modules: HaskellWorks.Control.Monad.Lazy
HaskellWorks.Data.AtIndex
HaskellWorks.Data.Branchless
HaskellWorks.Data.ByteString
HaskellWorks.Data.ByteString.Builder
HaskellWorks.Data.ByteString.Lazy
HaskellWorks.Data.Char
HaskellWorks.Data.Char.IsChar
HaskellWorks.Data.Concat
HaskellWorks.Data.Cons
HaskellWorks.Data.Container
HaskellWorks.Data.Decode
HaskellWorks.Data.Drop
HaskellWorks.Data.Empty
HaskellWorks.Data.Filter
HaskellWorks.Data.Foldable
HaskellWorks.Data.FromByteString
HaskellWorks.Data.FromForeignRegion
HaskellWorks.Data.FromString
HaskellWorks.Data.Generate
HaskellWorks.Data.Head
HaskellWorks.Data.Length
HaskellWorks.Data.Naive
HaskellWorks.Data.Null
HaskellWorks.Data.Ops
HaskellWorks.Data.Positioning
HaskellWorks.Data.Product
HaskellWorks.Data.Search
HaskellWorks.Data.Sign
HaskellWorks.Data.Snoc
HaskellWorks.Data.Take
HaskellWorks.Data.TreeCursor
HaskellWorks.Data.Uncons
HaskellWorks.Data.Unsign
HaskellWorks.Data.Unsnoc
HaskellWorks.Data.Vector.AsVector64
HaskellWorks.Data.Vector.AsVector64ns
HaskellWorks.Data.Vector.AsVector64s
HaskellWorks.Data.Vector.AsVector8
HaskellWorks.Data.Vector.AsVector8ns
HaskellWorks.Data.Vector.AsVector8s
HaskellWorks.Data.Vector.BoxedVectorLike
HaskellWorks.Data.Vector.Storable
HaskellWorks.Data.Vector.StorableVectorLike
HaskellWorks.Data.Word
HaskellWorks.Foreign
other-modules: Paths_hw_prim
autogen-modules: Paths_hw_prim
hs-source-dirs: src
test-suite hw-prim-test
import: base, config
, QuickCheck
, bytestring
, directory
, exceptions
, hedgehog
, hspec
, hw-hspec-hedgehog
, hw-prim
, mmap
, transformers
, vector
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules: HaskellWorks.Data.ByteStringSpec
HaskellWorks.Data.FoldableSpec
HaskellWorks.Data.FromByteStringSpec
HaskellWorks.Data.FromForeignRegionSpec
HaskellWorks.Data.SearchSpec
HaskellWorks.Data.Vector.AsVector64nsSpec
HaskellWorks.Data.Vector.AsVector64sSpec
HaskellWorks.Data.Vector.AsVector8nsSpec
HaskellWorks.Data.Vector.AsVector8sSpec
HaskellWorks.Data.Vector.StorableSpec
hs-source-dirs: test
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-tool-depends: hspec-discover:hspec-discover
benchmark bench
import: base, config
, bytestring
, criterion
, hw-prim
, mmap
, transformers
, vector
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: bench
build-depends: hw-prim
test-suite doctest
import: base, config
, doctest
, doctest-discover
, hw-prim
default-language: Haskell2010
type: exitcode-stdio-1.0
ghc-options: -threaded -rtsopts -with-rtsopts=-N
main-is: DoctestDriver.hs
HS-Source-Dirs: doctest
build-tool-depends: doctest-discover:doctest-discover