type theory <- domain theory <- category theory
https://en.wikipedia.org/wiki/Covariance_and_contravariance