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.