Hom-functor (category theory)

Given any object of a locally-small category 𝐂, one may construct several functors referred to as hom-functors.

(Covariant) hom-functor

For any fixed object s of a locally-small category 𝐂, the covariant hom-functor 𝐂[sβ†’βˆ’]:π‚β†’π’πžπ­

Considering the mapping x,y↦𝐂[xβ†’y] naturally gives rise to the covariant hom-functor by fixing the first argument.

The covariant hom-functor makes a star appearance in the Haskell programming language, being the function type itself (or equivalently, the reader monad):

  instance Functor ((->) s) where
    fmap g f = g . f

Contravariant hom-functor

Β«TODOΒ»

Considering the mapping x,y↦𝐂[xβ†’y] naturally gives rise to the contravariant hom-functor by fixing the first argument.

Two-sided represented functor

If you fix neither side, you get the two-sided represented functor. See Two-sided represented functor.

References