→In Pure Mathematics: Mention contravariance. Mathematical functors are cool; computer language functors less so.
Line 6:
Line 6:
:<math>F(g \circ f) = F(g) \circ F(f)</math>.
:<math>F(g \circ f) = F(g) \circ F(f)</math>.
Functors are the fundamental objects used to relate structures between different categories.
Functors are the fundamental objects used to relate structures between different categories.
+
+
The above is sometimes called a "covariant functor", to distinguish it from the less common "contravariant functor". In a contravariant functor, the composition order is reversed: