monadology-0.3: The best ideas in monad-related classes and types.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Control.Monad.Ology.General.Function

Synopsis

Documentation

type TransKind = (Type -> Type) -> Type -> Type Source #

Raised

type Raised p q = forall a. p a -> q a Source #

type (-->) p q = Raised p q Source #

newtype WRaised p q Source #

Constructors

MkWRaised 

Fields

Instances

Instances details
Category (WRaised :: (k -> Type) -> (k -> Type) -> Type) Source # 
Instance details

Defined in Control.Monad.Ology.General.Function

Methods

id :: forall (a :: k0). WRaised a a #

(.) :: forall (b :: k0) (c :: k0) (a :: k0). WRaised b c -> WRaised a b -> WRaised a c #

wLift :: (MonadTrans t, Monad m) => WRaised m (t m) Source #

Backraised

type Backraised ma mb = forall r. ((mb --> ma) -> ma r) -> mb r Source #

type (-/->) ma mb = Backraised ma mb Source #

backraisedToRaised :: (ma -/-> mb) -> ma --> mb Source #

newtype WBackraised p q Source #

Constructors

MkWBackraised 

Fields

Instances

Instances details
Category (WBackraised :: (k -> Type) -> (k -> Type) -> Type) Source # 
Instance details

Defined in Control.Monad.Ology.General.Function

Methods

id :: forall (a :: k0). WBackraised a a #

(.) :: forall (b :: k0) (c :: k0) (a :: k0). WBackraised b c -> WBackraised a b -> WBackraised a c #

Unlift

type Unlift c t = forall (m :: Type -> Type). c m => t m --> m Source #

newtype WUnlift c t Source #

Constructors

MkWUnlift 

Fields

wUnliftToWRaised :: c m => WUnlift c t -> WRaised (t m) m Source #

Extract

type Extract m = forall a. m a -> a Source #

newtype WExtract m Source #

Constructors

MkWExtract 

Fields