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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
|
cabal-version: >=1.10
name: foldable1-classes-compat
version: 0.1
x-revision: 3
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 ==7.0.4
|| ==7.2.2
|| ==7.4.2
|| ==7.6.3
|| ==7.8.4
|| ==7.10.3
|| ==8.0.2
|| ==8.2.2
|| ==8.4.4
|| ==8.6.5
|| ==8.8.4
|| ==8.10.7
|| ==9.0.2
|| ==9.2.5
|| ==9.4.4
|| ==9.6.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.3 && <4.20
if !impl(ghc >= 9.6)
hs-source-dirs: src
build-depends:
containers >=0.4 && <0.7
, 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 !impl(ghc >=8.0)
build-depends:
semigroups >=0.18.5 && <0.21
, transformers-compat >=0.6 && <0.8
if !impl(ghc >= 7.2)
build-depends: generic-deriving >=1.14 && <1.15
if flag(tagged)
build-depends: tagged >=0.4.4 && <1
if impl(ghc >= 9.0)
build-depends: ghc-prim >= 0.7 && <0.12
else
if !impl(ghc >=7.6)
build-depends: ghc-prim
test-suite test
default-language: Haskell2010
type: exitcode-stdio-1.0
ghc-options: -Wall
hs-source-dirs: test
main-is: Tests.hs
-- because of quickcheck-instances
if !impl(ghc >=7.4)
buildable: False
build-depends:
base
, containers
, foldable1-classes-compat
, transformers
if !impl(ghc >=8.0)
build-depends:
semigroups
, transformers-compat
build-depends:
QuickCheck >=2.13.2 && <2.15
, 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
if !impl(ghc >=7.6)
buildable: False
build-depends:
base
, containers
, foldable1-classes-compat
, transformers
if !impl(ghc >=8.0)
build-depends:
semigroups
, transformers-compat
build-depends:
criterion >=1.5.6.1 && <1.7
, deepseq >=1.3 && <1.6
|