Category is a simple concept. In fact, most things in category theory can be embarrassingly simple to explain.
Category requires only 2 things. Objects and morphisms. Whatever a thing is, if you can map it into a bunch of objects and morphisms with rules in 1.2 Properties of Composition, you have a category.
An object can be whatever. A morphism can change an object to another object.
1.1 Morphism as Functions
We can reimagine morphism as functions instead. Like functions, morphism are composable. Meaning if there exists and , then we can use both to construct .
1.2 Properties of Composition
- Composition is associative, meaning:
- For every object, there exist identity function where
Next: 2. Types and Functions