Category Theory Illustrated – Types
boris_m
91 points
15 comments
April 03, 2026
Related Discussions
Found 5 related stories in 43.4ms across 3,471 title embeddings via pgvector HNSW
- What category theory teaches us about dataframes fanf2 · 20 pts · March 29, 2026 · 57% similar
- The day I discovered type design ingve · 56 pts · March 19, 2026 · 49% similar
- Algebraic topology: knots links and braids marysminefnuf · 82 pts · March 09, 2026 · 42% similar
- Typst Examples Book slow_typist · 28 pts · March 06, 2026 · 41% similar
- TLA+ Mental Models r4um · 15 pts · March 23, 2026 · 41% similar
Discussion Highlights (3 comments)
chromacity
It's a great introduction, but I find the premise a bit funny. It starts with Russell's paradox, insinuates that solving it within set theory makes set theory complex (it doesn't, you basically just restrict what can be used to build a set), and then introduces a system that is fundamentally more complex .
layer8
Regarding Russell’s paradox, its dual is also interesting: Consider the set D := { s | s ∈ s }, the set of sets that do contain themselves. Does D contain itself? It might or it might not, neither causes a contradiction. Tnis shows that you don’t need an antinomy for a set comprehension to be ill-defined.
Koshkin
> a set can contain itself Can it? > a term can have only one type... Due to this law, types cannot contain themselves Doesn't look like one follows from the other...