Skip to content

Commit a76e847

Browse files
committed
Support GHC 7.10
1 parent db0fcdb commit a76e847

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/haskell-ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
strategy:
1111
fail-fast: false
1212
matrix:
13-
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.7', '9.8.4', '9.10.3', '9.12.2', '9.14.1']
13+
ghc: ['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.8', '9.4.8', '9.6.7', '9.8.4', '9.10.3', '9.12.2', '9.14.1']
1414
steps:
1515
- uses: actions/checkout@v6
1616
- uses: haskell-actions/setup@v2

binary.cabal

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ synopsis: Binary serialisation for Haskell values using lazy ByteStrings
2727
category: Data, Parsing
2828
stability: provisional
2929
build-type: Simple
30-
tested-with: GHC == 8.0.2, GHC ==8.2.2, GHC == 8.4.4, 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.7, GHC == 9.8.4, GHC == 9.10.3, GHC == 9.12.2, GHC == 9.14.1
30+
tested-with: GHC == 7.10.3, GHC == 8.0.2, GHC ==8.2.2, GHC == 8.4.4, 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.7, GHC == 9.8.4, GHC == 9.10.3, GHC == 9.12.2, GHC == 9.14.1
3131
extra-source-files:
3232
tools/derive/*.hs
3333
-- from the benchmark 'throughput'
@@ -41,7 +41,7 @@ source-repository head
4141
location: https://github.com/haskell/binary.git
4242

4343
library
44-
build-depends: base >= 4.9 && < 5, bytestring >= 0.10.4, containers, array
44+
build-depends: base >= 4.8 && < 5, bytestring >= 0.10.4, containers, array
4545
hs-source-dirs: src
4646
exposed-modules: Data.Binary,
4747
Data.Binary.Put,
@@ -68,7 +68,7 @@ test-suite qc
6868
Action
6969
Arbitrary
7070
build-depends:
71-
base >= 4.9 && < 5,
71+
base >= 4.8 && < 5,
7272
base-orphans >=0.8.1 && <0.9,
7373
binary,
7474
bytestring >= 0.10.4,
@@ -87,7 +87,7 @@ test-suite read-write-file
8787
hs-source-dirs: tests
8888
main-is: File.hs
8989
build-depends:
90-
base >= 4.9 && < 5,
90+
base >= 4.8 && < 5,
9191
binary,
9292
bytestring >= 0.10.4,
9393
Cabal,
@@ -108,7 +108,7 @@ benchmark throughput
108108
other-modules:
109109
MemBench
110110
build-depends:
111-
base >= 4.9 && < 5,
111+
base >= 4.8 && < 5,
112112
binary,
113113
bytestring >= 0.10.4
114114
-- build dependencies from using binary source rather than depending on the library
@@ -124,7 +124,7 @@ benchmark get
124124
main-is: Get.hs
125125
build-depends:
126126
attoparsec,
127-
base >= 4.9 && < 5,
127+
base >= 4.8 && < 5,
128128
binary,
129129
bytestring >= 0.10.4,
130130
cereal,
@@ -141,7 +141,7 @@ benchmark put
141141
hs-source-dirs: benchmarks
142142
main-is: Put.hs
143143
build-depends:
144-
base >= 4.9 && < 5,
144+
base >= 4.8 && < 5,
145145
binary,
146146
bytestring >= 0.10.4,
147147
deepseq,
@@ -156,7 +156,7 @@ benchmark generics-bench
156156
hs-source-dirs: benchmarks
157157
main-is: GenericsBench.hs
158158
build-depends:
159-
base >= 4.9 && < 5,
159+
base >= 4.8 && < 5,
160160
binary,
161161
bytestring >= 0.10.4,
162162
-- The benchmark already depended on 'generic-deriving' transitively. That's
@@ -183,7 +183,7 @@ benchmark builder
183183
hs-source-dirs: benchmarks
184184
main-is: Builder.hs
185185
build-depends:
186-
base >= 4.9 && < 5,
186+
base >= 4.8 && < 5,
187187
binary,
188188
bytestring >= 0.10.4,
189189
deepseq,

0 commit comments

Comments
 (0)