Safe Haskell | None |
---|---|
Language | Haskell2010 |
FComonad.Adjoint
Documentation
type Adjoint (ff :: (k2 -> Type) -> k1 -> Type) (uu :: k -> k2 -> Type) = AdjointT ff uu (IdentityT :: (k2 -> Type) -> k2 -> Type) Source #
adjoint :: forall (ff :: FF) (uu :: FF) (x :: Type -> Type). (FFunctor ff, FFunctor uu, Functor x) => ff (uu x) ~> Adjoint ff uu x Source #
runAdjoint :: forall (ff :: FF) (uu :: FF) (x :: Type -> Type). (FFunctor ff, FFunctor uu, Functor x) => Adjoint ff uu x ~> ff (uu x) Source #
newtype AdjointT (ff :: k -> k1 -> Type) (uu :: k2 -> k3) (ww :: k3 -> k) (g :: k2) (x :: k1) Source #
Constructors
AdjointT | |
Fields
|
Instances
(Adjunction ff uu, FComonad ww) => FComonad (AdjointT ff uu ww) Source # | |
(FFunctor ff, FFunctor ww, FFunctor uu) => FFunctor (AdjointT ff uu ww) Source # | |
(FStrong ff, FStrong ww, FStrong uu) => FStrong (AdjointT ff uu ww) Source # | |
Defined in FComonad.Adjoint Methods fstrength :: forall (g :: Type -> Type) (h :: Type -> Type). Functor g => Day (AdjointT ff uu ww g) h ~> AdjointT ff uu ww (Day g h) Source # mapCurried :: forall (g :: Type -> Type) (h :: Type -> Type). (Functor g, Functor h) => Curried g h ~> Curried (AdjointT ff uu ww g) (AdjointT ff uu ww h) Source # | |
Functor (ff (ww (uu g))) => Functor (AdjointT ff uu ww g) Source # | |