-
Notifications
You must be signed in to change notification settings - Fork 6
/
assoc.cabal
54 lines (47 loc) · 1.35 KB
/
assoc.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
cabal-version: 3.0
name: assoc
version: 1.1.1
license: BSD-3-Clause
license-file: LICENSE
synopsis: swap and assoc: Symmetric and Semigroupy Bifunctors
category: Data
description:
Provides generalisations of
@swap :: (a,b) -> (b,a)@ and
@assoc :: ((a,b),c) -> (a,(b,c))@
to
@Bifunctor@s supporting similar operations (e.g. @Either@, @These@).
author: Oleg Grenrus <oleg.grenrus@iki.fi>
maintainer: Oleg Grenrus <oleg.grenrus@iki.fi>
build-type: Simple
extra-source-files: CHANGELOG.md
tested-with:
GHC ==8.6.5
|| ==8.8.4
|| ==8.10.7
|| ==9.0.2
|| ==9.2.8
|| ==9.4.8
|| ==9.6.5
|| ==9.8.2
|| ==9.10.1
source-repository head
type: git
location: https://github.com/phadej/assoc.git
flag tagged
default: False
manual: True
description:
You can disable the use of the `tagged` package using `-f-tagged`.
.
Disabing this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users.
library
default-language: Haskell2010
hs-source-dirs: src
build-depends: base >=4.12 && <4.21
if flag(tagged)
build-depends: tagged >=0.8.8 && <0.9
exposed-modules:
Data.Bifunctor.Assoc
Data.Bifunctor.Swap
other-extensions: TypeFamilies