Skip to content

Commit 3ff1bfe

Browse files
committed
Remove monitoring
1 parent 3c2f2ac commit 3ff1bfe

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

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

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -195,13 +195,6 @@ class (forall a. Show (Action state a), Monad m) => RunModel state m where
195195
postconditionOnFailure :: (state, state) -> Action state a -> LookUp -> Either (Error state) a -> Property
196196
postconditionOnFailure _ _ _ _ = property True
197197

198-
-- | Allows the user to attach additional information to the `Property` at each step of the process.
199-
-- This function is given the full transition that's been executed, including the start and ending
200-
-- `state`, the `Action`, the current environment to `Lookup` and the value produced by `perform`
201-
-- while executing this step.
202-
monitoring :: (state, state) -> Action state a -> LookUp -> Either (Error state) a -> Property -> Property
203-
monitoring _ _ _ _ prop = prop
204-
205198
-- | Allows the user to attach additional information to the `Property` if a positive action fails.
206199
monitoringFailure :: state -> Action state a -> LookUp -> Error state -> Property -> Property
207200
monitoringFailure _ _ _ _ prop = prop
@@ -542,5 +535,4 @@ runSteps s env ((v := act) : as) = do
542535
| Right val <- ret = (var :== val) : env
543536
| otherwise = env
544537
stateTransition = (underlyingState s, underlyingState s')
545-
monitor $ monitoring @state @m stateTransition action (lookUpVar env') ret
546538
pure (s', env', stateTransition)

0 commit comments

Comments
 (0)