Changes

Jump to navigation Jump to search
228 bytes added ,  19:26, October 1, 2009
→‎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:
 +
:<math>F(g \circ f) = F(f) \circ F(g)</math>.
    
=== Examples ===
 
=== Examples ===
181

edits

Navigation menu