Skip to content

Commit 2c85370

Browse files
authored
Bump GHC 927 -> 962 (#50)
1 parent e02a6de commit 2c85370

File tree

4 files changed

+90
-53
lines changed

4 files changed

+90
-53
lines changed

flake.lock

Lines changed: 86 additions & 51 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

nix/haskell.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
# https://www.github.com/input-output-hk/iogx#32-nixhaskellnix
33

44
{
5-
supportedCompilers = ["ghc927"];
5+
supportedCompilers = ["ghc8107" "ghc928" "ghc962"];
6+
defaultCompiler = "ghc962";
67
}

quickcheck-dynamic/quickcheck-dynamic.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ test-suite quickcheck-dynamic-test
9494

9595
ghc-options: -rtsopts
9696
build-depends:
97-
, base >=4.7 && <5
97+
, base
9898
, containers
9999
, mtl
100100
, QuickCheck

quickcheck-dynamic/src/Test/QuickCheck/StateModel.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,7 @@ instance forall state. StateModel state => Arbitrary (Actions state) where
379379
shrink (Actions_ rs as) =
380380
map (Actions_ rs) (shrinkSmart (map (prune . map fst) . concatMap customActionsShrinker . shrinkList shrinker . withStates) as)
381381
where
382+
shrinker :: (Step state, Annotated state) -> [(Step state, Annotated state)]
382383
shrinker (v := act, s) = [(unsafeCoerceVar v := act', s) | Some act'@ActionWithPolarity{} <- computeShrinkAction s act]
383384
customActionsShrinker :: [(Step state, Annotated state)] -> [[(Step state, Annotated state)]]
384385
customActionsShrinker acts =

0 commit comments

Comments
 (0)