test-monad-laws-0.0.0.0: Laws for mtl classes as QuickCheck properties.
Test.Monad.Morph
Description
Monad homomorphisms.
type (~>) m n = forall t. m t -> n t Source #
Natural transformation.
bindHom :: forall m n a b. (Monad m, Monad n) => (m ~> n) -> m a -> (a -> m b) -> Equation (n b) Source #
returnHom :: forall m n a. (Monad m, Monad n) => (m ~> n) -> a -> Equation (n a) Source #