pipes-3.0.0: Compositional pipelines

Control.MFunctor

Contents

Description

This module temporarily holds this class until it can find a better home.

Synopsis

class MFunctor t where Source #

A functor in the category of monads

Minimal complete definition

hoist

Methods

hoist :: Monad m => (forall a. m a -> n a) -> t m b -> t n b Source #

Lift a monad morphism from m to n into a monad morphism from (t m) to (t n)

Instances

raise = hoist lift