-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathcontiguous.cabal
More file actions
89 lines (77 loc) · 2.15 KB
/
contiguous.cabal
File metadata and controls
89 lines (77 loc) · 2.15 KB
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
cabal-version: 2.4
name: contiguous
version: 0.6.5.0
homepage: https://github.com/byteverse/contiguous
bug-reports: https://github.com/byteverse/contiguous/issues
author: Andrew Martin
maintainer: amartin@layer3com.com
copyright: 2018 Andrew Martin
license: BSD-3-Clause
license-file: LICENSE
build-type: Simple
extra-doc-files:
CHANGELOG.md
README.md
extra-source-files: cabal.project
synopsis: Unified interface for primitive arrays
category: Array,Data,Primitive
description:
This package provides a typeclass `Contiguous` that offers a
unified interface to working with `Array`, `SmallArray`,
`PrimArray`, and `UnliftedArray`.
tested-with: GHC ==9.4.8 || ==9.6.3 || ==9.8.1
common build-settings
default-language: Haskell2010
ghc-options: -Wall -Wunused-packages
library
import: build-settings
exposed-modules:
Data.Primitive.Contiguous
Data.Primitive.Contiguous.Class
other-modules: Data.Primitive.Contiguous.Shim
hs-source-dirs: src
build-depends:
, base >=4.14 && <5
, deepseq >=1.4
, primitive >=0.9 && <0.10
, primitive-unlifted >=2.2
, run-st >=0.1.3.2
ghc-options: -O2
test-suite unit-tests
import: build-settings
type: exitcode-stdio-1.0
main-is: UnitTests.hs
hs-source-dirs: test
build-depends:
, base
, contiguous
, primitive
, QuickCheck
, quickcheck-instances
, vector
test-suite laws
import: build-settings
type: exitcode-stdio-1.0
main-is: Laws.hs
hs-source-dirs: test
build-depends:
, base
, contiguous
, QuickCheck
, quickcheck-classes
ghc-options: -O2
benchmark weigh
import: build-settings
type: exitcode-stdio-1.0
build-depends:
, base
, contiguous
, random
, random-shuffle
, weigh
hs-source-dirs: bench
main-is: Main.hs
ghc-options: -O2
source-repository head
type: git
location: git://github.com/byteverse/contiguous.git