forked from haskellari/these
-
Notifications
You must be signed in to change notification settings - Fork 0
/
these.cabal
69 lines (66 loc) · 3.23 KB
/
these.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
Name: these
Version: 0.6.2.1
Synopsis: An either-or-both data type & a generalized 'zip with padding' typeclass
Homepage: https://github.com/isomorphism/these
License: BSD3
License-file: LICENSE
Author: C. McCann
Maintainer: [email protected]
Category: Data,Control
Build-type: Simple
Extra-source-files: README.md, CHANGELOG.md
Cabal-version: >=1.8
Description:
This package provides a data type @These a b@ which can hold a value of either
type or values of each type. This is usually thought of as an "inclusive or"
type (contrasting @Either a b@ as "exclusive or") or as an "outer join" type
(contrasting @(a, b)@ as "inner join").
.
The major use case of this is provided by the @Align@ class, representing a
generalized notion of "zipping with padding" that combines structures without
truncating to the size of the smaller input.
.
Also included is @ChronicleT@, a monad transformer based on the Monad instance
for @These a@, along with the usual monad transformer bells and whistles.
source-repository head
type: git
location: https://github.com/isomorphism/these.git
Library
Exposed-modules: Data.These,
Data.Align,
Control.Monad.Chronicle,
Control.Monad.Chronicle.Class,
Control.Monad.Trans.Chronicle
Build-depends: base >= 4.4 && < 5,
containers >= 0.4 && < 0.6,
mtl >= 2 && < 2.3,
transformers >= 0.2 && < 0.6,
semigroups >= 0.8 && < 0.19,
bifunctors >= 0.1 && < 5.4,
semigroupoids >= 1.0 && < 5.1,
profunctors >= 3 && < 5.3,
vector >= 0.4 && < 0.12,
transformers-compat >= 0.2 && < 0.6,
hashable >= 1.2.3 && < 1.3,
unordered-containers >= 0.2 && < 0.3,
data-default-class >= 0.0 && < 0.1
if impl(ghc <7.5)
build-depends: ghc-prim
ghc-options: -Wall
test-suite test
type: exitcode-stdio-1.0
main-is: Tests.hs
hs-source-dirs: test
ghc-options: -Wall
build-depends: these,
base >= 4.5 && < 4.10,
transformers >= 0.2 && < 0.6,
vector >= 0.4 && < 0.12,
bifunctors >= 0.1 && < 5.4,
containers >= 0.4 && < 0.6,
hashable >= 1.2.3 && < 1.3,
unordered-containers >= 0.2 && < 0.3,
tasty >= 0.10 && < 0.12,
tasty-quickcheck >= 0.8 && < 0.9,
QuickCheck >= 2.8 && < 2.8.3,
quickcheck-instances >= 0.3.6 && < 0.4