Skip to content

Bump GHC 927 -> 962 #50

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Aug 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
137 changes: 86 additions & 51 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion nix/haskell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
# https://www.github.com/input-output-hk/iogx#32-nixhaskellnix

{
supportedCompilers = ["ghc927"];
supportedCompilers = ["ghc8107" "ghc928" "ghc962"];
defaultCompiler = "ghc962";
}
2 changes: 1 addition & 1 deletion quickcheck-dynamic/quickcheck-dynamic.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ test-suite quickcheck-dynamic-test

ghc-options: -rtsopts
build-depends:
, base >=4.7 && <5
, base
, containers
, mtl
, QuickCheck
Expand Down
1 change: 1 addition & 0 deletions quickcheck-dynamic/src/Test/QuickCheck/StateModel.hs
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,7 @@ instance forall state. StateModel state => Arbitrary (Actions state) where
shrink (Actions_ rs as) =
map (Actions_ rs) (shrinkSmart (map (prune . map fst) . concatMap customActionsShrinker . shrinkList shrinker . withStates) as)
where
shrinker :: (Step state, Annotated state) -> [(Step state, Annotated state)]
shrinker (v := act, s) = [(unsafeCoerceVar v := act', s) | Some act'@ActionWithPolarity{} <- computeShrinkAction s act]
customActionsShrinker :: [(Step state, Annotated state)] -> [[(Step state, Annotated state)]]
customActionsShrinker acts =
Expand Down