nLab
hom-functor

For any locally small category C and any object cC, the covariant hom-functor

hom(c,):CSethom(c,-) : C \to Set

is the functor from C to Set sending any object xC to the hom-set hom(c,x).

To fully describe this functor we must also say what it does to morphisms in C: f:xy is sent to the morphism f *:hom(c,x)hom(c,y), which maps φ to fφ.

There is also a contravariant hom-functor

hom(,c):C opSet,hom(-,c) : C^{op} \to Set,

where C op is the opposite category to C, which sends any object xC op to the hom-set hom(x,c).

And indeed, both the hom-functors just mentioned can easily be obtained from the more general functor, also called a hom-functor:

hom:C op×CSet,hom : C^{op} \times C \to Set,

where C op×C is the product category? of C op and C, which sends any object (x,y)C op×C to the hom-set hom(x,y).