A functor is a “Morphism of categories”. Informally, they are like functions of functions (~meteafunctions~), because basically, they map arrows to arrows (which often can be interpreted as functions)
More precisely, a functor (where and are Categoryes) is given by:
Functors between Preorders are Monotone functions. Functors between Monoids are Monoid homomorphisms
The covariant powerset functor :
That is it maps functions between sets to the functions between subsets corresponding to the Image of a subset
The 'forgetful' or 'underlying' functor which sends a monoid to its set of elements, 'forgetting' the algebraic structure, and sends a homomorphism to the corresponding function between sets.
Group theory: The assignment of the commutator sub-group of a group extends to a functor from Group to Group; and the assignment of the quotient by this normal subgroup extends to a functor from Group to AbGroup. The assignment of the centraliser of a group does not!
Homology. The basic idea of algebraic topology is that there are functorial assignments of algebraic objects (e.g. groups) to topological spaces, and variants of this idea (‘(co)homology theories’) are pervasive throughout modern pure mathematics.
Covariant functor refers to the definition of functor above
Contravariant functor is a Covariant functor from the Opposite category to , to . For example
A Group action can be seen as a functor from a group to a set where arrows will become bijections.
I guess a Group representation is also a functor
Functor of several variable
Functors defined on Product category.
In Functional programming a lot of Data structures can be seen as functors.
List is a functor from set to {collection of lists from elements of the set} and from functions on the set to map
-like functions on the list.
Hom-functors
For each object in a category there is a functor we can define.
Can also define contravariant and bivariant functors..
Categorical product can be turned into functors.
Properties of functors
See here