-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwordn.cabal
107 lines (98 loc) · 2.33 KB
/
wordn.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
cabal-version: 2.0
-- Initial package description 'wordn.cabal' generated by 'cabal init'.
-- For further documentation, see http://haskell.org/cabal/users-guide/
name: wordn
version: 0.1.0.0
synopsis: arbitrary bit size Words
description: Monomorphized arbitrary bitsize words using backpack. Aims to allocate as little as possible, without exporting a monomoprhised type for every possible @Word@ size
bug-reports: /~https://github.com/goolord/wordn/issues
license: MIT
license-file: LICENSE
author: Zachary Churchill
maintainer: zacharyachurchill@gmail.com
-- copyright:
category: Data
build-type: Simple
extra-source-files: CHANGELOG.md
library
build-depends:
base >=4.12.0.0 && <5.2
, wordn-indef
, wordn-impl
, ghc-prim >= 0.5.3 && < 0.7
reexported-modules:
WordN.Word8
, WordN.Word16
, WordN.Word32
, WordN.Word64
default-language: Haskell2010
ghc-options: -Wall -O2
mixins:
wordn-indef (WordN as WordN.Word8)
requires (WordSize as Impl.Word8)
, wordn-indef (WordN as WordN.Word16)
requires (WordSize as Impl.Word16)
, wordn-indef (WordN as WordN.Word32)
requires (WordSize as Impl.Word32)
, wordn-indef (WordN as WordN.Word64)
requires (WordSize as Impl.Word64)
library wordn-indef
exposed-modules:
WordN
build-depends:
base
, ghc-prim
hs-source-dirs: src-wordn-indef
default-language: Haskell2010
ghc-options: -Wall -O2
signatures: WordSize
library wordn-impl
build-depends:
base
, ghc-prim
exposed-modules:
Impl.Word8
, Impl.Word16
, Impl.Word32
, Impl.Word64
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall -O2
benchmark bench
type: exitcode-stdio-1.0
build-depends:
base
, gauge
, weigh == 0.0.16
, wordn
, deepseq
, OddWord
ghc-options: -Wall -O0
default-language: Haskell2010
hs-source-dirs: bench
main-is: Main.hs
test-suite test
type:
exitcode-stdio-1.0
hs-source-dirs:
test
main-is:
Main.hs
build-depends:
HUnit
, tasty
, base
, tasty-hunit
, tasty-quickcheck
, QuickCheck
, quickcheck-classes
, primitive
, wordn
ghc-options:
-Wall
-O2
default-language:
Haskell2010
source-repository head
type: git
location: /~https://github.com/goolord/wordn.git