Module

Data.Functor.Day.Hom

Package
purescript-day
Repository
paf31/purescript-day

The internal hom in the category of functors with Day convolution as the monoidal tensor.

#Hom Source

newtype Hom f g a

This is the internal hom in the category of functors with Day convolution as the monoidal tensor.

Instances

#type (⊸) Source

Operator alias for Data.Functor.Day.Hom.Hom (right-associative / precedence 5)

#runHom Source

runHom :: forall f g a r. Hom f g a -> f (a -> r) -> g r

#hom Source

hom :: forall f g a. (forall r. f (a -> r) -> g r) -> Hom f g a

#curryHom Source

curryHom :: forall f g h. (f  g  h) ~> f  g  h

The curry function for the internal hom object Hom

#uncurryHom Source

uncurryHom :: forall f g h. Functor f => Functor g => (f  g  h) ~> f  g  h

The uncurry function for the internal hom object Hom

#composeHom Source

composeHom :: forall f g h. Functor f => (g  h)  (f  g) ~> f  h

The composition map for the internal hom object Hom

#evalHom Source

evalHom :: forall f g. Functor f => (f  g)  f ~> g

The evaluation map for the internal hom object Hom

#introHom Source

introHom :: forall f g h. (f  g ~> h) -> f ~> g  h

#introHom' Source

introHom' :: forall f g. Functor f => (f ~> g) -> Identity ~> f  g

#elimHom Source

elimHom :: forall f g h. Functor g => (f ~> g  h) -> f  g ~> h

#elimHom' Source

elimHom' :: forall f g. Functor f => (Identity ~> f  g) -> f ~> g

#pairingHom Source

pairingHom :: forall f g. f  g -> f ~> g  Identity

Hom generalizes pairings which have been applied to their first argument.

#pairHom Source

pairHom :: forall f. Functor f => f  (f  Identity)

Every functor f pairs with f ⊸ Identity.