-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathunion.cabal
60 lines (54 loc) · 2.01 KB
/
union.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
name: union
version: 0.1.2
synopsis: Extensible type-safe unions
description:
Extensible type-safe unions for Haskell with prisms using modern
GHC features. Dual to vinyl records. Unions are also known as
corecords or polymorphic variants.
Neither requires a @Typeable@ constraint nor uses unsafe coercions
at the cost of linear time access (negligible in practice).
license: BSD3
license-file: LICENSE
author: Vladislav Zavialov
maintainer: Vladislav Zavialov <[email protected]>
bug-reports: https://github.com/int-index/union/issues
category: Data
build-type: Simple
cabal-version: >=1.10
source-repository head
type: git
location: [email protected]:int-index/union.git
library
exposed-modules: Data.Union
other-modules: Data.Union.Prism
other-extensions: DataKinds
EmptyCase
FlexibleContexts
FlexibleInstances
GADTs
LambdaCase
MultiParamTypeClasses
PolyKinds
RankNTypes
ScopedTypeVariables
TypeOperators
build-depends: base >=4.9 && <4.21
, vinyl >= 0.14.3 && <0.15
, profunctors >=5.1 && <5.7
, tagged >=0.8 && <0.9
, deepseq >=1.4 && <1.7
, hashable >=1.2 && <1.6
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall
benchmark bench
type: exitcode-stdio-1.0
main-is: Benchmark.hs
build-depends: base
, union
, lens
, deepseq >=1.4.2
, criterion
hs-source-dirs: bench
default-language: Haskell2010
ghc-options: -Wall -O2 -fno-warn-orphans