-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathhkd.cabal
152 lines (136 loc) · 3.32 KB
/
hkd.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
cabal-version: 2.2
name: hkd
version: 0.2
synopsis: "higher-kinded data"
description:
"Higher-kinded data" utilities, e.g.
.
@
class FFunctor t where
\ ffmap :: (f ~> g) -> t f -> t g
@
.
and other classes and types.
.
/Note:/ this package is experimental.
.
/See also:/ @distributive@.
homepage: https://github.com/ekmett/distributive/tree/main/hkd#readme
license: BSD-2-Clause OR Apache-2.0
license-file: LICENSE.md
author: Edward Kmett <[email protected]>
maintainer: Edward Kmett <[email protected]>
copyright: (c) 2019-2021 Edward Kmett
(c) 2019-2021, Oleg Grenrus
(c) 2021 Aaron Vargo
category: Data Structures
build-type: Simple
extra-source-files:
.hlint.yaml
extra-doc-files:
README.md
CHANGELOG.md
tested-with:
GHC == 8.6.5,
GHC == 8.8.4,
GHC == 8.10.3,
GHC == 9.0.1,
GHC == 9.4.4
source-repository head
type: git
location: git://github.com/ekmett/distributive.git
subdir: hkd
common base
default-language: Haskell2010
ghc-options: -Wall
default-extensions:
AllowAmbiguousTypes
BangPatterns
BlockArguments
ConstraintKinds
DataKinds
DefaultSignatures
DeriveAnyClass
DeriveDataTypeable
DeriveGeneric
DeriveTraversable
DerivingVia
EmptyCase
ExistentialQuantification
ExplicitNamespaces
FlexibleContexts
FlexibleInstances
FunctionalDependencies
GADTs
InstanceSigs
LambdaCase
LiberalTypeSynonyms
MagicHash
NoStarIsType
PartialTypeSignatures
PatternSynonyms
PolyKinds
QuantifiedConstraints
RankNTypes
RoleAnnotations
ScopedTypeVariables
StandaloneDeriving
TupleSections
TypeApplications
TypeFamilies
TypeOperators
UndecidableInstances
UndecidableSuperClasses
ViewPatterns
other-extensions:
CPP
GeneralizedNewtypeDeriving
Safe
Trustworthy
Unsafe
UnboxedTuples
library
import: base
hs-source-dirs: src
other-modules:
Data.HKD.Orphans
Data.Traversable.Confusing
exposed-modules:
Data.HKD
Data.HKD.Classes
Data.HKD.Contravariant
Data.HKD.Profunctor
Data.HKD.Profunctor.Unsafe
Data.HKD.Index
Data.HKD.Index.Internal
Data.Function.Coerce
-- TODO: remove Data.Function.Coerce and use Data.Profunctor.Unsafe
-- Data.HKD.Profunctor
ghc-options: -Wall -fexpose-all-unfoldings -fspecialize-aggressively
ghc-options: -O2
if impl(ghc >=8.0)
ghc-options: -Wno-trustworthy-safe
if impl(ghc >=8.4)
ghc-options:
-Wincomplete-uni-patterns -Wincomplete-record-updates
-Wredundant-constraints -Widentities -Wmissing-export-lists
if impl(ghc >= 9.0)
-- these flags may abort compilation with GHC-8.10
-- https://gitlab.haskell.org/ghc/ghc/-/merge_requests/3295
ghc-options: -Winferred-safe-imports -Wmissing-safe-haskell-mode
if impl(ghc >= 9.2)
ghc-options: -finline-generics-aggressively
build-depends:
, base >=4.10 && <4.18
, base-orphans >= 0.5.2 && < 1
, contravariant ^>= 1.6
, dependent-hashmap ^>= 0.1
, dependent-sum ^>= 0.7.1
, ghc-prim
, hashable >= 1.3 && < 1.5
, indexed-traversable ^>= 0.1
, mtl ^>= 2.2
, numeric-fin ^>= 0
, some ^>= 1
, tagged >= 0.7 && < 1
, transformers ^>= 0.5