-
Notifications
You must be signed in to change notification settings - Fork 24
/
contravariant.cabal
62 lines (55 loc) · 1.78 KB
/
contravariant.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
cabal-version: 2.2
name: contravariant
category: Control, Data
version: 1.6
license: BSD-2-Clause OR Apache-2.0
license-file: LICENSE.md
author: Edward A. Kmett
maintainer: Edward A. Kmett <[email protected]>
stability: provisional
homepage: http://github.com/ekmett/contravariant/
bug-reports: http://github.com/ekmett/contravariant/issues
copyright: Copyright (C) 2007-2021 Edward A. Kmett
synopsis: Contravariant functors
description: Contravariant functors.
build-type: Simple
tested-with: 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.5
, GHC == 9.8.2
, GHC == 9.10.1
extra-source-files:
.hlint.yaml
CHANGELOG.markdown
README.markdown
source-repository head
type: git
location: git://github.com/ekmett/contravariant.git
flag StateVar
description:
You can disable the use of the `StateVar` package using `-f-StateVar`.
.
Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users.
default: True
manual: True
library
hs-source-dirs: src
build-depends:
, base >= 4.12 && < 5
, transformers >= 0.5 && < 0.7
if flag(StateVar)
build-depends: StateVar >= 1.2.1 && < 1.3
exposed-modules:
Data.Functor.Contravariant.Compose
Data.Functor.Contravariant.Divisible
Data.Functor.Contravariant.Generic
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
ghc-options: -Wall -Wno-star-is-type
default-language: Haskell2010