For any locally small category and any object , the covariant hom-functor
is the functor from to Set sending any object to the hom-set .
To fully describe this functor we must also say what it does to morphisms in : is sent to the morphism , which maps to .
There is also a contravariant hom-functor
where is the opposite category to , which sends any object to the hom-set .
And indeed, both the hom-functors just mentioned can easily be obtained from the more general functor, also called a hom-functor:
where is the product category? of and , which sends any object to the hom-set .