We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c85370 commit 348cfdbCopy full SHA for 348cfdb
quickcheck-dynamic/src/Test/QuickCheck/StateModel.hs
@@ -381,6 +381,7 @@ instance forall state. StateModel state => Arbitrary (Actions state) where
381
where
382
shrinker :: (Step state, Annotated state) -> [(Step state, Annotated state)]
383
shrinker (v := act, s) = [(unsafeCoerceVar v := act', s) | Some act'@ActionWithPolarity{} <- computeShrinkAction s act]
384
+
385
customActionsShrinker :: [(Step state, Annotated state)] -> [[(Step state, Annotated state)]]
386
customActionsShrinker acts =
387
let usedVars = mconcat [getAllVariables a <> getAllVariables (underlyingState s) | (_ := a, s) <- acts]
0 commit comments