joint-0.1.1: 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

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

wrap :: 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

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

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

Transformer (Reader r) Source # 
Instance details

Defined in Control.Joint.Base.Reader

Associated Types

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

Methods

lay :: Functor u => u ~> Schema (Reader r) u Source #

wrap :: Applicative u => Reader r ~> Schema (Reader r) u Source #

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