Skip to content

Commit a94450f

Browse files
committed
Upgrade to GHC 9.12.2
1 parent 0a3de34 commit a94450f

File tree

2 files changed

+18
-12
lines changed

2 files changed

+18
-12
lines changed

haskell/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ sh solve.sh 1
1414

1515
## Notes
1616

17-
It was confirmed to work with GHC 9.10.1 and Cabal 3.12.1.0.
17+
It was confirmed to work with GHC 9.12.2 and Cabal 3.14.1.1.
1818

1919
Please see `euler.cabal` for dependent packages.

haskell/euler.cabal

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,30 @@ build-type: Simple
88
common warnings
99
ghc-options: -Wall -Wcompat
1010

11+
common extensions
12+
default-extensions:
13+
NoImportQualifiedPost
14+
1115
executable pe-solver
12-
import: warnings
16+
import: warnings, extensions
1317
main-is: Main.hs
1418
hs-source-dirs: app
1519
build-depends:
16-
base ^>=4.20.0.0,
17-
deepseq ^>=1.5.0.0,
20+
base ^>=4.21.0.0,
21+
deepseq ^>=1.5.1.0,
1822
solutions
1923
default-extensions: Strict
2024
default-language: GHC2024
2125

2226
library solutions
23-
import: warnings
27+
import: warnings, extensions
2428
hs-source-dirs: src
2529
build-depends:
26-
base ^>=4.20.0.0,
27-
array ^>=0.5.7.0,
28-
bytestring ^>=0.12.1.0,
30+
base ^>=4.21.0.0,
31+
array ^>=0.5.8.0,
32+
bytestring ^>=0.12.2.0,
2933
containers ^>=0.7,
30-
text ^>=2.1.1,
34+
text ^>=2.1.2,
3135
primes ^>=0.2.1.0,
3236
file-embed ^>= 0.0.16.0
3337
exposed-modules:
@@ -65,14 +69,16 @@ library solutions
6569
default-language: GHC2024
6670

6771
test-suite solutions-test
68-
import: warnings
72+
import: warnings, extensions
6973
type: exitcode-stdio-1.0
7074
main-is: Spec.hs
7175
hs-source-dirs: test
7276
build-depends:
73-
base ^>=4.20.0.0,
74-
hspec ^>=2.11.9,
77+
base ^>=4.21.0.0,
78+
hspec ^>=2.11.12,
7579
solutions
80+
build-tool-depends:
81+
hspec-discover:hspec-discover ^>=2.11.12
7682
other-modules:
7783
Paths_euler,
7884
Sol.P0001Spec, Sol.P0002Spec, Sol.P0003Spec, Sol.P0004Spec, Sol.P0005Spec,

0 commit comments

Comments
 (0)