-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathenummapset.cabal
100 lines (84 loc) · 2.38 KB
/
enummapset.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
name: enummapset
version: 0.7.3.0
synopsis: IntMap and IntSet with Enum keys/elements.
description: This package contains simple wrappers around 'Data.IntMap' and
'Data.IntSet' with 'Enum' keys and elements respectively.
Especially useful for 'Int's wrapped with `newtype`.
homepage: https://github.com/Mikolaj/enummapset
bug-reports: https://github.com/Mikolaj/enummapset/issues
license: BSD3
license-file: LICENSE
tested-with:
GHC==8.4.4
, GHC==8.6.5
, GHC==8.8.4
, GHC==8.10.7
, GHC==9.0.2
, GHC==9.2.8
, GHC==9.4.8
, GHC==9.6.6
, GHC==9.8.2
author: Michal Terepeta and others
maintainer: Mikolaj Konarski <[email protected]>
category: Data Structures
build-type: Simple
cabal-version: >=1.10
extra-source-files: README.md
source-repository head
type: git
location: https://github.com/Mikolaj/enummapset.git
flag debug
description: Debug build (more warnings, etc.)
default: False
Library
exposed-modules:
Data.EnumMap
Data.EnumMap.Lazy
Data.EnumMap.Strict
Data.EnumSet
other-modules:
Data.EnumMap.Base
build-depends:
base >= 4.6 && < 5,
aeson >= 1.3 && < 2.3,
containers >= 0.5.11 && < 0.8,
deepseq >= 1.2 && < 1.6
if impl(ghc < 8.0)
build-depends: semigroups >=0.1 && <1.0
if flag(debug)
ghc-options: -Wall
default-language: Haskell2010
other-extensions: CPP, BangPatterns,
DataKinds, FlexibleContexts, FlexibleInstances,
KindSignatures, TypeFamilies, UndecidableInstances
Test-suite intset-properties
hs-source-dirs: tests, .
main-is: intset-properties.hs
other-modules:
Data.EnumSet
Data.EnumMap.Lazy
Data.EnumMap.Base
Data.EnumMap
IntSetValidity
Json
type: exitcode-stdio-1.0
cpp-options: -DTESTING
ghc-options: -O2
default-language: Haskell2010
other-extensions: CPP, BangPatterns,
DataKinds, FlexibleContexts, FlexibleInstances,
KindSignatures, TypeFamilies, UndecidableInstances
build-depends:
base >= 4.6 && < 5,
aeson,
array >= 0.4.0.0,
containers,
deepseq,
ghc-prim,
HUnit,
QuickCheck >= 2.7.1,
test-framework,
test-framework-hunit,
test-framework-quickcheck2
if impl(ghc < 8.0)
build-depends: semigroups