Origin of The Terms
The origin of these terms is in category theory, where the types in the type system form a category C, in which morphisms represent the subtype relationship.
Defining a function that accepts type p and returns type r creates a new type p → r in the type system; the new function name is associated with that type. This function definition operator is actually a functor F : C × C → C that creates the said type. From the substitution principle above, this functor must be contravariant in the first argument and covariant in the second.
Read more about this topic: Covariance And Contravariance (computer Science)
Famous quotes containing the words origin of, origin and/or terms:
“The origin of storms is not in clouds,
our lightning strikes when the earth rises,
spillways free authentic power:
dead John Browns body walking from a tunnel
to break the armored and concluded mind.”
—Muriel Rukeyser (19131980)
“Our theism is the purification of the human mind. Man can paint, or make, or think nothing but man. He believes that the great material elements had their origin from his thought.”
—Ralph Waldo Emerson (18031882)
“We can come up with a working definition of life, which is what we did for the Viking mission to Mars. We said we could think in terms of a large molecule made up of carbon compounds that can replicate, or make copies of itself, and metabolize food and energy. So thats the thought: macrocolecule, metabolism, replication.”
—Cyril Ponnamperuma (b. 1923)