Endofunctors
An endofunctor on a category C is a functor F: C -> C, meaning it assigns to every object X in C an object F(X) in C and to every morphism f: X -> Y a morphism F(f): F(X) -> F(Y), preserving identities and composition. Endofunctors are elements of the category [C, C], whose objects are functors from C to C and whose morphisms are natural transformations between them. The identity functor id_C and the composition of endofunctors are basic examples, and the composite of two endofunctors is itself an endofunctor.
Examples include endofunctors on Set such as the identity functor, the list functor X |-> X*, the
Endofunctors are central to several theories in category theory and its applications. A monad is an endofunctor