test-monad-laws-0.0.0.0: Laws for mtl classes as QuickCheck properties.

Safe HaskellNone
LanguageHaskell2010

Test.Monad.Morph

Description

Monad homomorphisms.

Synopsis

Documentation

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 #