Skip to content

Commit 478ae12

Browse files
committed
Upgrade GHC 9.14, version bump to 0.9.4.0, relax dependency bounds
1 parent 002bb33 commit 478ae12

4 files changed

Lines changed: 76 additions & 26 deletions

File tree

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
-- This is a GHC environment file written by cabal. This means you can
2+
-- run ghc or ghci and get the environment of the project as a whole.
3+
-- But you still need to use cabal repl $target to get the environment
4+
-- of specific components (libs, exes, tests etc) because each one can
5+
-- have its own source dirs, cpp flags etc.
6+
--
7+
clear-package-db
8+
global-package-db
9+
package-db /Users/tonyday567/.cabal/store/ghc-9.14.1-bcbf/package.db
10+
package-db dist-newstyle/packagedb/ghc-9.14.1
11+
package-id box-0.9.3.3-inplace
12+
package-id sync-2.2.6-48952dc1
13+
package-id base-4.22.0.0-1f90
14+
package-id ghc-internal-9.1401.0-0c3b
15+
package-id rts-1.0.3
16+
package-id ghc-prim-0.13.1-36ee
17+
package-id hshbl-1.5.1.0-cdd748a8
18+
package-id bytestring-0.12.2.0-5637
19+
package-id deepseq-1.5.1.0-f1e0
20+
package-id template-haskell-2.24.0.0-8dc5
21+
package-id ghc-boot-th-9.14.1-89be
22+
package-id pretty-1.1.3.6-3147
23+
package-id cntnrs-0.7-e2357059
24+
package-id array-0.5.8.0-3b50
25+
package-id filepath-1.5.4.0-a60d
26+
package-id exceptions-0.10.11-ff38
27+
package-id mtl-2.3.1-c99f
28+
package-id transformers-0.6.1.2-3c72
29+
package-id stm-2.5.3.1-8fc0
30+
package-id os-string-2.0.8-161a
31+
package-id txt-2.1.3-37ed6c45
32+
package-id bnry-0.8.9.3-59588bfb
33+
package-id system-cxx-std-lib-1.0
34+
package-id nrdrd-cntnrs-0.2.21-5b36b799
35+
package-id cntrvrnt-1.5.5-d3ab8777
36+
package-id SttVr-1.2.2-5405a826
37+
package-id dlst-1.0-7f4bde76
38+
package-id kn-xtnsns-5.2.7-f6dc7c55
39+
package-id djnctns-4.4.3-cda78071
40+
package-id cmnd-5.0.9-ea93ab6c
41+
package-id dstrbtv-0.6.2.1-4718abab
42+
package-id bs-rphns-0.9.3-1caa291b
43+
package-id tggd-0.8.10-fb1d5994
44+
package-id ndxd-trvrsbl-0.1.4-b44fa261
45+
package-id trnsfrmrs-cmpt-0.7.2-a2352a42
46+
package-id fr-5.2-004f35f6
47+
package-id prfnctrs-5.6.3-553ed923
48+
package-id bfnctrs-5.6.3-6f72cc58
49+
package-id ssc-1.1.1-1e926108
50+
package-id th-bstrctn-0.7.2.0-30b631e4
51+
package-id smgrpds-6.0.1-5673d0c0
52+
package-id trnsfrmrs-bs-0.4.6-3ed486ca
53+
package-id smgrps-0.20-6f5ba243
54+
package-id vd-0.7.4-aa06574c
55+
package-id nvrnt-0.1.2-015ecf1d
56+
package-id tm-1.14-a511edab

ChangeLog.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
0.9.4
2+
===
3+
4+
- GHC 9.14.1 support
5+
- simplified Cabal stanzas to best practice template
6+
- relaxed dependency bounds via allow-newer for GHC 9.14 compatibility
7+
18
0.9.3
29
===
310
* stdBox, toLineBox, fromLineBox added to Box.IO

box.cabal

Lines changed: 6 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 3.0
22
name: box
3-
version: 0.9.3.3
3+
version: 0.9.4.0
44
license: BSD-3-Clause
55
license-file: LICENSE
66
copyright: Tony Day (c) 2017
@@ -15,10 +15,9 @@ description:
1515

1616
build-type: Simple
1717
tested-with:
18-
ghc ==9.6.7
19-
ghc ==9.8.4
20-
ghc ==9.10.2
18+
ghc ==9.10.3
2119
ghc ==9.12.2
20+
ghc ==9.14.1
2221

2322
extra-doc-files:
2423
ChangeLog.md
@@ -36,29 +35,9 @@ common ghc-options-stanza
3635
-Wincomplete-uni-patterns
3736
-Wredundant-constraints
3837

39-
common ghc2024-additions
40-
default-extensions:
41-
DataKinds
42-
DerivingStrategies
43-
DisambiguateRecordFields
44-
ExplicitNamespaces
45-
GADTs
46-
LambdaCase
47-
MonoLocalBinds
48-
RoleAnnotations
49-
50-
common ghc2024-stanza
51-
if impl(ghc >=9.10)
52-
default-language:
53-
GHC2024
54-
else
55-
import: ghc2024-additions
56-
default-language:
57-
GHC2021
58-
5938
library
6039
import: ghc-options-stanza
61-
import: ghc2024-stanza
40+
default-language: GHC2024
6241
hs-source-dirs: src
6342
build-depends:
6443
async >=2.2 && <2.3,
@@ -89,7 +68,8 @@ library
8968
Box.Time
9069

9170
test-suite doctests
92-
import: ghc2024-stanza
71+
import: ghc-options-stanza
72+
default-language: GHC2024
9373
main-is: doctests.hs
9474
hs-source-dirs: test
9575
build-depends:

cabal.project

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,10 @@ packages:
22
box.cabal
33

44
write-ghc-environment-files: always
5+
6+
allow-newer:
7+
indexed-traversable:base,
8+
comonad:base,
9+
free:base,
10+
free:template-haskell,
11+
kan-extensions:free

0 commit comments

Comments
 (0)