joint-0.1.2: 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 #

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 #

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 #

Transformer (Reader e) Source # 
Instance details

Defined in Control.Joint.Base.Reader

Associated Types

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

Methods

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

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

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