Skip to content

Commit fe1c99a

Browse files
authoredOct 31, 2023
Merge pull request #2230 from clayrat/9.2.8
update to GHC 9.2.8
2 parents 8d00ca5 + 9503149 commit fe1c99a

File tree

16 files changed

+48
-42
lines changed

16 files changed

+48
-42
lines changed
 

‎.circleci/config.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ commands:
116116
command: |
117117
wget -qO- https://get.haskellstack.org/ | sudo sh
118118
stack --no-terminal --stack-yaml << parameters.stack_yaml_file >> setup
119-
stack --no-terminal --stack-yaml << parameters.stack_yaml_file >> build -j4 --only-dependencies --test --no-run-tests << parameters.extra_build_flags >>
119+
stack --no-terminal --stack-yaml << parameters.stack_yaml_file >> build -j4 --only-dependencies --test --no-run-tests << parameters.extra_build_flags >>
120120
- save_cache:
121121
key: stack-cache-v1-{{ checksum "<< parameters.stack_yaml_file >>" }}-{{ checksum "liquidhaskell-boot/liquidhaskell-boot.cabal" }}-{{ checksum "liquidhaskell.cabal" }}-{{ checksum "liquid-fixpoint-commit" }}
122122
paths:
@@ -158,7 +158,7 @@ jobs:
158158
image: ubuntu-2004:202107-02
159159
steps:
160160
- cabal_build_and_test:
161-
ghc_version: "9.2.5"
161+
ghc_version: "9.2.8"
162162

163163
workflows:
164164
version: 2

‎CHANGES.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Changes
22

3-
## NEXT 0.9.XX
3+
## 0.9.2.8.0
4+
5+
- Support for GHC 9.2.8
46

57
## 0.9.2.5
68

‎README.md

+11-10
Original file line numberDiff line numberDiff line change
@@ -165,14 +165,15 @@ On each line, the report will contain the time taken by each test.
165165
Comparison charts in `svg` format can be generated by invoking
166166

167167
```
168-
cabal v2-run plot-performance -- -b path_to_before_summary.csv -a path_to_after_summary.csv -s 50 -f "benchmark" -o outdir
168+
cabal v2-run plot-performance -- -b path_to_before_summary.csv -a path_to_after_summary.csv -s 50 -f "benchmark"
169169
```
170170

171171
This will generate three files `filtered.svg` (a subset of tests with a `benchmark` prefix, enabled by the `-f` option),
172-
`top.svg` and `bot.svg` (top 50 speedups and slowdowns over the entire test set, both enabled by the `-s` option) under
173-
the `outdir` directory. The `-f` and `-s` options can be used/omitted independently. If both are omitted, a single
174-
`perf.svg` will be produced covering the full input test set. Additionally, their effects can be combined by providing
175-
a third `-c` option (this will produce 2 files `filtered-top.svg` and `filtered-bot.svg` instead of 3).
172+
`top.svg` and `bot.svg` (top 50 speedups and slowdowns over the entire test set, both enabled by the `-s` option) in the
173+
current directory. The `-f` and `-s` options can be used/omitted independently. If both are omitted, a single `perf.svg`
174+
will be produced covering the full input test set. Additionally, their effects can be combined by providing a third `-c`
175+
option (this will produce 2 files `filtered-top.svg` and `filtered-bot.svg` instead of 3). An optional key `-o` can be
176+
supplied to specify an output directory for the generated files.
176177

177178
There is also a legacy script `scripts/plot-performance/chart_perf.sh` that can be used to generate comparison charts
178179
in both `svg` and `png` formats. It requires [gnuplot](http://www.gnuplot.info/) to run and assumes both files contain
@@ -357,14 +358,14 @@ using**.
357358
[BareSpec]: liquidhaskell-boot/src/Language/Haskell/Liquid/Types/Specs.hs#L362
358359
[LiftedSpec]: liquidhaskell-boot/src/Language/Haskell/Liquid/Types/Specs.hs#L559
359360
[TargetSrc]: liquidhaskell-boot/src/Language/Haskell/Liquid/Types/Specs.hs#L158
360-
[Ghc monad]: https://hackage.haskell.org/package/ghc-9.2.5/docs/GHC.html#t:Ghc
361-
[HscEnv]: https://hackage.haskell.org/package/ghc-9.2.5/docs/GHC.html#t:HscEnv
362-
[DynFlags]: https://hackage.haskell.org/package/ghc-9.2.5/docs/GHC.html#t:DynFlags
363-
[GhcMonad]: https://hackage.haskell.org/package/ghc-9.2.5/docs/GHC.html#t:GhcMonad
361+
[Ghc monad]: https://hackage.haskell.org/package/ghc-9.2.8/docs/GHC.html#t:Ghc
362+
[HscEnv]: https://hackage.haskell.org/package/ghc-9.2.8/docs/GHC.html#t:HscEnv
363+
[DynFlags]: https://hackage.haskell.org/package/ghc-9.2.8/docs/GHC.html#t:DynFlags
364+
[GhcMonad]: https://hackage.haskell.org/package/ghc-9.2.8/docs/GHC.html#t:GhcMonad
364365
[typechecking phase]: liquidhaskell-boot/src/Language/Haskell/Liquid/GHC/Plugin.hs#L211-L226
365366
[ghcide]: https://github.com/haskell/ghcide
366367
[findRelevantSpecs]: liquidhaskell-boot/src/Language/Haskell/Liquid/GHC/Plugin/SpecFinder.hs#L65
367-
[core binds]: https://hackage.haskell.org/package/ghc-9.2.5/docs/CoreSyn.html#t:CoreBind
368+
[core binds]: https://hackage.haskell.org/package/ghc-9.2.8/docs/GHC-Core.html#t:CoreBind
368369
[configureGhcTargets]: liquidhaskell-boot/src/Language/Haskell/Liquid/GHC/Interface.hs#L254
369370
[processTargetModule]: liquidhaskell-boot/src/Language/Haskell/Liquid/GHC/Interface.hs#L483
370371
[processModule]: liquidhaskell-boot/src/Language/Haskell/Liquid/GHC/Plugin.hs#L509

‎cabal.project

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
with-compiler: ghc-9.2.5
1+
with-compiler: ghc-9.2.8
22

33
packages: .
44
./liquid-fixpoint

‎docs/mkDocs/docs/install.md

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ LiquidHaskell itself is installed&enabled by adding it as a dependency in your p
1919

2020
Depending on your version of GHC, you might want to use a build of LiquidHaskell from github or from Hackage.
2121

22+
* `ghc-9.2.8`: use LiquidHaskell from github
2223
* `ghc-9.2.5`: use liquidhaskell-0.9.2.5.0 from Hackage
2324
* `ghc-9.0.2`: use liquidhaskell-0.9.0.2.1 and liquid-base-0.4.15.1.0 from Hackage
2425
* `ghc-8.10.7`: use liquidhaskell-0.8.10.7 and liquid-base-0.4.15.0.0 from Hackage

‎liquid-parallel/liquid-parallel.cabal

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ library
2020
hs-source-dirs: src
2121
build-depends: base < 5
2222
, parallel >= 3.2.2.0 && < 3.3
23-
, liquidhaskell >= 0.9.2.5
23+
, liquidhaskell >= 0.9.2.8
2424
default-language: Haskell2010
2525
default-extensions: PackageImports
2626
if impl(ghc >= 8.10)

‎liquid-platform/liquid-platform.cabal

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 1.22
22
name: liquid-platform
3-
version: 0.9.2.5
3+
version: 0.9.2.8
44
synopsis: A battery-included platform for LiquidHaskell
55
description: A battery-included platform for LiquidHaskell.
66
license: BSD3
@@ -27,10 +27,10 @@ executable liquidhaskell
2727
buildable: True
2828
build-depends: base >= 4.15.1.0 && < 5
2929
, containers >= 0.6.4.1 && < 0.7
30-
, liquid-prelude >= 0.9.2.5
30+
, liquid-prelude >= 0.9.2.8
3131
, liquid-vector >= 0.12.3.1.2
32-
, liquidhaskell >= 0.9.2.5
33-
, liquidhaskell-boot >= 0.9.2.5
32+
, liquidhaskell >= 0.9.2.8
33+
, liquidhaskell-boot >= 0.9.2.8
3434
, filepath
3535
, process >= 1.6.0.0 && < 1.7
3636
, cmdargs >= 0.10 && < 0.11

‎liquid-prelude/liquid-prelude.cabal

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 1.24
22
name: liquid-prelude
3-
version: 0.9.2.5
3+
version: 0.9.2.8
44
synopsis: General utility modules for LiquidHaskell
55
description: General utility modules for LiquidHaskell.
66
license: BSD3
@@ -31,7 +31,7 @@ library
3131
, ghc-prim
3232
, bytestring >= 0.10.12.1 && < 0.12
3333
, containers >= 0.6.4.1 && < 0.7
34-
, liquidhaskell >= 0.9.2.5
34+
, liquidhaskell >= 0.9.2.8
3535
default-language: Haskell2010
3636
if impl(ghc >= 8.10)
3737
ghc-options: -fplugin=LiquidHaskell

‎liquid-vector/liquid-vector.cabal

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ library
2020
hs-source-dirs: src
2121
build-depends: base < 5
2222
, vector >= 0.12.3.1 && < 0.14
23-
, liquidhaskell >= 0.9.2.5
23+
, liquidhaskell >= 0.9.2.8
2424
default-language: Haskell2010
2525
default-extensions: PackageImports
2626
if impl(ghc >= 8.10)

‎liquidhaskell-boot/liquidhaskell-boot.cabal

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 2.4
22
name: liquidhaskell-boot
3-
version: 0.9.2.5.0
3+
version: 0.9.2.8.0
44
synopsis: Liquid Types for Haskell
55
description: This package provides a plugin to verify Haskell programs.
66
But most likely you should be using the [liquidhaskell package](https://hackage.haskell.org/package/liquidhaskell)
@@ -13,7 +13,7 @@ maintainer: Ranjit Jhala <jhala@cs.ucsd.edu>
1313
category: Language
1414
homepage: https://github.com/ucsd-progsys/liquidhaskell
1515
build-type: Simple
16-
tested-with: GHC == 9.2.5
16+
tested-with: GHC == 9.2.8
1717

1818
data-files: include/CoreToLogic.lg
1919
syntax/liquid.css

‎liquidhaskell-boot/src/Language/Haskell/Liquid/Types/Equality.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{-# LANGUAGE FlexibleInstances #-}
22

3-
-- Syntactic Equality of Types up tp forall type renaming
3+
-- Syntactic Equality of Types up to forall type renaming
44

55
module Language.Haskell.Liquid.Types.Equality where
66

‎liquidhaskell.cabal

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 2.4
22
name: liquidhaskell
3-
version: 0.9.2.5.0
3+
version: 0.9.2.8.0
44
synopsis: Liquid Types for Haskell
55
description: Liquid Types for Haskell.
66
license: BSD-3-Clause
@@ -11,7 +11,7 @@ maintainer: Ranjit Jhala <jhala@cs.ucsd.edu>
1111
category: Language
1212
homepage: https://github.com/ucsd-progsys/liquidhaskell
1313
build-type: Custom
14-
tested-with: GHC == 9.2.5
14+
tested-with: GHC == 9.2.8
1515
extra-source-files: CHANGES.md
1616
README.md
1717

@@ -77,9 +77,9 @@ library
7777
hs-source-dirs: src
7878

7979
build-depends: base >= 4.11.1.0 && < 5,
80-
liquidhaskell-boot == 0.9.2.5.0,
81-
bytestring == 0.11.3.1,
82-
containers == 0.6.5.1,
80+
liquidhaskell-boot == 0.9.2.8.0,
81+
bytestring == 0.11.4.0,
82+
containers == 0.6.5.1,
8383
ghc-prim
8484
default-language: Haskell98
8585
ghc-options: -Wall -fplugin=LiquidHaskellBoot

‎src/Data/ByteString_LHAssumptions.hs

+2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ invariant { bs : Data.ByteString.ByteString | 0 <= bslen bs }
1212

1313
invariant { bs : Data.ByteString.ByteString | bslen bs == stringlen bs }
1414

15+
assume Data.ByteString.Internal.Type.empty :: { bs : Data.ByteString.ByteString | bslen bs == 0 }
16+
1517
assume Data.ByteString.singleton :: _ -> { bs : Data.ByteString.ByteString | bslen bs == 1 }
1618

1719
assume Data.ByteString.pack :: w8s : [_]

‎src/GHC/Types_LHAssumptions.hs

+4-4
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ embed GHC.Prim.Addr# as Str
2626
embed GHC.Integer.Type.Integer as int
2727
embed GHC.Num.Integer as int
2828

29-
assume GHC.Types.True :: {v:GHC.Types.Bool | v }
30-
assume GHC.Types.False :: {v:GHC.Types.Bool | (~ v) }
31-
assume GHC.Types.isTrue# :: n:_ -> {v:GHC.Types.Bool | (n = 1 <=> v)}
29+
assume GHC.Types.True :: {v:GHC.Types.Bool | v }
30+
assume GHC.Types.False :: {v:GHC.Types.Bool | (~ v) }
31+
assume GHC.Types.isTrue# :: n:_ -> {v:GHC.Types.Bool | (n = 1 <=> v)}
3232

3333
assume GHC.Types.D# :: x:GHC.Prim.Double# -> {v: GHC.Types.Double | v = (x :: real) }
3434
assume GHC.Types.F# :: x:GHC.Prim.Float# -> {v: GHC.Types.Float | v = (x :: real) }
3535
assume GHC.Types.I# :: x:GHC.Prim.Int# -> {v: GHC.Types.Int | v = (x :: int) }
3636
assume GHC.Types.C# :: x:GHC.Prim.Char# -> {v: GHC.Types.Char | v = (x :: Char) }
37-
assume GHC.Types.W# :: w:_ -> {v:GHC.Types.Word | v == w }
37+
assume GHC.Types.W# :: w:GHC.Prim.Word# -> {v:GHC.Types.Word | v == w }
3838

3939
measure addrLen :: GHC.Prim.Addr# -> GHC.Types.Int
4040

‎stack.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ extra-deps:
3131
# for tests
3232
- strip-ansi-escape-0.1.0.0@sha256:08f2ed93b16086a837ec46eab7ce8d27cf39d47783caaeb818878ea33c2ff75f,1628
3333

34-
resolver: lts-20.1
34+
resolver: lts-20.26
3535

3636
nix:
3737
packages: [cacert, git, hostname, z3]

‎stack.yaml.lock

+7-7
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55

66
packages:
77
- completed:
8-
hackage: hashable-1.3.5.0@sha256:3a2beeafb220f9de706568a7e4a5b3c762cc4c9f25c94d7ef795b8c2d6a691d7,4240
8+
hackage: hashable-1.4.2.0@sha256:585792335d5541dba78fa8dfcb291a89cd5812a281825ff7a44afa296ab5d58a,4520
99
pantry-tree:
10-
sha256: 4df2f6b536a0fcc5f7d562cb29e373f27dc4a2747452ac5cc74c1599cab22fc5
10+
sha256: 792a6cab3f15c5db29d759c8ca735d0be5f4c94f363329652f8b9780009d0829
1111
size: 1248
1212
original:
13-
hackage: hashable-1.3.5.0
13+
hackage: hashable-1.4.2.0
1414
- completed:
1515
hackage: rest-rewrite-0.4.1@sha256:1254960c0a595cf4c9d5a3b986f42644407c63c74578d75b3568a6a12e5143f0,3886
1616
pantry-tree:
@@ -52,7 +52,7 @@ packages:
5252
hackage: strip-ansi-escape-0.1.0.0@sha256:08f2ed93b16086a837ec46eab7ce8d27cf39d47783caaeb818878ea33c2ff75f,1628
5353
snapshots:
5454
- completed:
55-
sha256: b73b2b116143aea728c70e65c3239188998bac5bc3be56465813dacd74215dc5
56-
size: 648424
57-
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/20/1.yaml
58-
original: lts-20.1
55+
sha256: 5a59b2a405b3aba3c00188453be172b85893cab8ebc352b1ef58b0eae5d248a2
56+
size: 650475
57+
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/20/26.yaml
58+
original: lts-20.26

0 commit comments

Comments
 (0)
Please sign in to comment.