Skip to content

Commit 4262831

Browse files
committed
Fix Agda RPC for upcoming 2.8.0
agda/agda#7610 changed the RPC for `Interval` types which broke cornelis. We're making a change before 2.8.0 is released so we'll be ready on release day.
1 parent 552f13c commit 4262831

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

src/Cornelis/Offsets.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ data Interval p = Interval { iStart, iEnd :: !p }
130130

131131
instance Show p => Show (Interval p) where
132132
showsPrec n (Interval s e) =
133-
showParen (n >= 11) $ showString "Interval " . showsPrec 11 s . showSpace . showsPrec 11 e
133+
showParen (n >= 11) $ showString "Interval () " . showsPrec 11 s . showSpace . showsPrec 11 e
134134

135135
-- Common specializations
136136

stack.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# GHC 9.6.4
1+
# GHC 9.8.4
22
# Update `defaultGHCVersion` in `./flake.nix` when updating to resolver with different GHC version.
3-
resolver: lts-22.13
3+
resolver: lts-23.9
44

55
packages:
66
- .

stack.yaml.lock

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This file was autogenerated by Stack.
22
# You should not edit this file by hand.
33
# For more information, please see the documentation at:
4-
# https://docs.haskellstack.org/en/stable/lock_files
4+
# https://docs.haskellstack.org/en/stable/topics/lock_files
55

66
packages:
77
- completed:
@@ -13,7 +13,7 @@ packages:
1313
hackage: levenshtein-0.2.1.0
1414
snapshots:
1515
- completed:
16-
sha256: 6f0bea3ba5b07360f25bc886e8cff8d847767557a492a6f7f6dcb06e3cc79ee9
17-
size: 712905
18-
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/22/13.yaml
19-
original: lts-22.13
16+
sha256: 04c9d37f2a00c2bd51bf6b25eb98872059bc58f225d50b5f306ac58f760a178c
17+
size: 680567
18+
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/23/9.yaml
19+
original: lts-23.9

0 commit comments

Comments
 (0)