@@ -33,7 +33,7 @@ data DynLogic s
3333 Stopping (DynLogic s )
3434 | -- | After a specific action the predicate should hold
3535 forall a .
36- (Eq (Action s a ), Show (Action s a ), Typeable a ) =>
36+ (Eq (Action s a ), Show (Action s a ), Typeable a , Show a ) =>
3737 After (ActionWithPolarity s a ) (Var a -> DynPred s )
3838 | Error String (DynPred s )
3939 | -- | Adjust the probability of picking a branch
@@ -66,7 +66,7 @@ afterAny :: (Annotated s -> DynFormula s) -> DynFormula s
6666afterAny f = DynFormula $ \ n -> AfterAny $ \ s -> unDynFormula (f s) n
6767
6868afterPolar
69- :: (Typeable a , Eq (Action s a ), Show (Action s a ))
69+ :: (Typeable a , Show a , Eq (Action s a ), Show (Action s a ))
7070 => ActionWithPolarity s a
7171 -> (Var a -> Annotated s -> DynFormula s )
7272 -> DynFormula s
@@ -75,7 +75,7 @@ afterPolar act f = DynFormula $ \n -> After act $ \x s -> unDynFormula (f x s) n
7575-- | Given `f` must be `True` after /some/ action.
7676-- `f` is passed the state resulting from executing the `Action`.
7777after
78- :: (Typeable a , Eq (Action s a ), Show (Action s a ))
78+ :: (Typeable a , Show a , Eq (Action s a ), Show (Action s a ))
7979 => Action s a
8080 -> (Var a -> Annotated s -> DynFormula s )
8181 -> DynFormula s
@@ -85,7 +85,7 @@ after act f = afterPolar (ActionWithPolarity act PosPolarity) f
8585-- `f` is passed the state resulting from executing the `Action`
8686-- as a negative action.
8787afterNegative
88- :: (Typeable a , Eq (Action s a ), Show (Action s a ))
88+ :: (Typeable a , Show a , Eq (Action s a ), Show (Action s a ))
8989 => Action s a
9090 -> (Annotated s -> DynFormula s )
9191 -> DynFormula s
0 commit comments