pandora-0.4.5: A box of patterns and paradigms
Safe HaskellSafe-Inferred
LanguageHaskell2010

Pandora.Paradigm.Primary.Transformer.Yoneda

Documentation

newtype Yoneda t a Source #

Constructors

Yoneda 

Fields

  • yoneda :: forall b. (a -> b) -> t b
     

Instances

Instances details
Liftable Yoneda Source # 
Instance details

Defined in Pandora.Paradigm.Primary.Transformer.Yoneda

Methods

lift :: forall (u :: Type -> Type). Covariant u (->) (->) => u ~> Yoneda u Source #

(Extractable t ((->) :: Type -> Type -> Type), Pointable t ((->) :: Type -> Type -> Type), Extractable u ((->) :: Type -> Type -> Type), Pointable u ((->) :: Type -> Type -> Type)) => Adjoint (Yoneda t) (Yoneda u) ((->) :: Type -> Type -> Type) ((->) :: Type -> Type -> Type) Source # 
Instance details

Defined in Pandora.Paradigm.Primary.Transformer.Yoneda

Methods

(-|) :: (Yoneda t a -> b) -> a -> Yoneda u b Source #

(|-) :: (a -> Yoneda u b) -> Yoneda t a -> b Source #

Pointable t ((->) :: Type -> Type -> Type) => Pointable (Yoneda t) ((->) :: Type -> Type -> Type) Source # 
Instance details

Defined in Pandora.Paradigm.Primary.Transformer.Yoneda

Methods

point :: a -> Yoneda t a Source #

Extractable t ((->) :: Type -> Type -> Type) => Extractable (Yoneda t) ((->) :: Type -> Type -> Type) Source # 
Instance details

Defined in Pandora.Paradigm.Primary.Transformer.Yoneda

Methods

extract :: Yoneda t a -> a Source #

Covariant (Yoneda t) ((->) :: Type -> Type -> Type) ((->) :: Type -> Type -> Type) Source # 
Instance details

Defined in Pandora.Paradigm.Primary.Transformer.Yoneda

Methods

(-<$>-) :: (a -> b) -> Yoneda t a -> Yoneda t b Source #