-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfoldable1-classes-compat.cabal
113 lines (97 loc) · 2.9 KB
/
foldable1-classes-compat.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
cabal-version: >=1.10
name: foldable1-classes-compat
version: 0.1.1
synopsis:
Compatibility package for the Foldable1 and Bifoldable1 type classes
description:
A compatibility package for the @Foldable1@ and @Bifoldable1@ type classes,
which were introduced in @base-4.18.0.0@ (GHC 9.6.1). For more information,
see <https://github.com/haskell/core-libraries-committee/issues/9 this Core
Libraries Committee proposal>.
.
@Foldable1@ and @Bifoldable1@ classify non-empty data structures that can be
folded to a summary value.
license: BSD3
maintainer: Ryan Scott <ryan.gl.scott@gmail.com>
author: Edward Kmett, Oleg Grenrus
homepage: https://github.com/haskell-compat/foldable1-classes-compat
bug-reports: https://github.com/haskell-compat/foldable1-classes-compat/issues
category: Data, Compatibility
license-file: LICENSE
build-type: Simple
extra-source-files:
CHANGELOG.markdown
README.markdown
tested-with:
GHC ==8.0.2
|| ==8.2.2
|| ==8.4.4
|| ==8.6.5
|| ==8.8.4
|| ==8.10.7
|| ==9.0.2
|| ==9.2.8
|| ==9.4.8
|| ==9.6.6
|| ==9.8.4
|| ==9.10.1
|| ==9.12.1
-- , GHCJS ==8.4
source-repository head
type: git
location: https://github.com/haskell-compat/foldable1-classes-compat.git
flag tagged
description:
You can disable the use of the `tagged` package using `-f-tagged`.
.
Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users.
default: True
manual: True
library
default-language: Haskell2010
ghc-options: -Wall
build-depends: base >=4.9 && <4.22
if !impl(ghc >= 9.6)
hs-source-dirs: src
build-depends:
containers >=0.4 && <0.8
, transformers >=0.3 && <0.7
exposed-modules:
Data.Foldable1
Data.Bifoldable1
if !impl(ghc >=8.6)
build-depends: base-orphans >=0.8.1 && <0.10
if !impl(ghc >=8.2)
build-depends: bifunctor-classes-compat >=0.1 && <0.2
if flag(tagged)
build-depends: tagged >=0.4.4 && <1
if impl(ghc >= 9.0)
build-depends: ghc-prim >= 0.7 && <0.14
test-suite test
default-language: Haskell2010
type: exitcode-stdio-1.0
ghc-options: -Wall
hs-source-dirs: test
main-is: Tests.hs
build-depends:
base
, containers
, foldable1-classes-compat
, transformers
, QuickCheck >=2.13.2 && <2.16
, quickcheck-instances >=0.3.27 && <0.4
, test-framework >=0.8.2.0 && <0.9
, test-framework-quickcheck2 >=0.3.0.5 && <0.4
benchmark bench
default-language: Haskell2010
type: exitcode-stdio-1.0
ghc-options: -Wall
hs-source-dirs: bench
main-is: Bench.hs
build-depends:
base
, containers
, foldable1-classes-compat
, transformers
, tasty-bench >=0.3.5 && < 0.5
, deepseq >=1.3 && <1.6