Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
Operations with support for products (pairs) and sums (Either
)
OpId :: Op a a | |
OpFst :: Op (a, b) a | |
OpSnd :: Op (b, a) a | |
OpLeft :: Op (Either a b) a | |
OpRight :: Op (Either b a) a | |
OpComp :: Op b c -> Op a b -> Op a c |
Instances
Operation Op Source # | |
Defined in Test.QuickCheck.StateModel.Lockstep.Op.SumProd opIdentity :: Op a a Source # | |
InterpretOp Op (WrapRealized IO) Source # | |
Defined in Test.QuickCheck.StateModel.Lockstep.Op.SumProd intOp :: Op a b -> WrapRealized IO a -> Maybe (WrapRealized IO b) Source # | |
InterpretOp Op (WrapRealized m) => InterpretOp Op (WrapRealized (ReaderT r m)) Source # | |
Defined in Test.QuickCheck.StateModel.Lockstep.Op.SumProd intOp :: Op a b -> WrapRealized (ReaderT r m) a -> Maybe (WrapRealized (ReaderT r m) b) Source # | |
InterpretOp Op (WrapRealized m) => InterpretOp Op (WrapRealized (StateT s m)) Source # | |
Defined in Test.QuickCheck.StateModel.Lockstep.Op.SumProd intOp :: Op a b -> WrapRealized (StateT s m) a -> Maybe (WrapRealized (StateT s m) b) Source # | |
Show (Op a b) Source # | |
Eq (Op a b) Source # | |