A category “X” consists of some data that satisfy two properties:
- **Identity **
- Each object “x” has an identity morphism
- Associativity (composition)
In category theory we are not interested in the individual elements of one category, instead we want to model and learn the relationships between categories.
Translating this for the “programming land”:
- Usually in programming land a category is a type, but we are not interested in the set of individual elements from this type… what we really want to understand is: how we can build relationships between different types?
https://www.math3ma.com/blog/what-is-a-category