Safe Haskell | None |
---|---|
Language | Haskell98 |
Documentation
class Distributive g where Source #
type Transformer (f :: (* -> *) -> * -> *) (g :: (* -> *) -> * -> *) (m :: * -> *) :: Constraint Source #
distribute :: Transformer f g m => g (f m) a -> f (g m) a Source #
Distribute one monad transformer over another.
Distributive MaybeT Source # | |
Distributive Tree Source # | |
Distributive GenT Source # | |
Monoid w => Distributive (WriterT w) Source # | |
Distributive (ExceptT x) Source # | |
Distributive (ReaderT * r) Source # | |