joint-0.1.3: Trying to compose non-composable

Safe HaskellSafe
LanguageHaskell2010

Control.Joint.Transformer

Documentation

class Composition t => Transformer t where Source #

Associated Types

type Schema (t :: * -> *) (u :: * -> *) = (r :: * -> *) | r -> t u Source #

Methods

embed :: Functor u => u ~> Schema t u Source #

build :: Applicative u => t ~> Schema t u Source #

unite :: Primary (Schema t u) a -> Schema t u a Source #

Instances
Transformer Maybe Source # 
Instance details

Defined in Control.Joint.Base.Maybe

Associated Types

type Schema Maybe u = (r :: Type -> Type) Source #

Transformer (Either e) Source # 
Instance details

Defined in Control.Joint.Base.Either

Associated Types

type Schema (Either e) u = (r :: Type -> Type) Source #

Methods

embed :: Functor u => u ~> Schema (Either e) u Source #

build :: Applicative u => Either e ~> Schema (Either e) u Source #

unite :: Primary (Schema (Either e) u) a -> Schema (Either e) u a Source #

Transformer (State s) Source # 
Instance details

Defined in Control.Joint.Base.State

Associated Types

type Schema (State s) u = (r :: Type -> Type) Source #

Methods

embed :: Functor u => u ~> Schema (State s) u Source #

build :: Applicative u => State s ~> Schema (State s) u Source #

unite :: Primary (Schema (State s) u) a -> Schema (State s) u a Source #

Transformer (Configured e) Source # 
Instance details

Defined in Control.Joint.Base.Configured

Associated Types

type Schema (Configured e) u = (r :: Type -> Type) Source #

type (:>) t u a = Transformer t => Schema t u a infixr 1 Source #