Definition 1.4 (Functor). Let C and D be categories. A functor F:C→D consists of mappings F:obC→obD and F+morC→morD such that:
We write Cat for the category of small categories and the functors between them.