Opening Category Theory 10.1: Monads
Category Theory 10.1: Monads
- Length
- 1 h 15 min
- Level
- Graduate
- Recorded
- Independent educator2016
Chapter 1 of 11: Before the lecture
Milewski takes apart the fish operator for Kleisli composition to extract bind and return, then join.
Category theory defines monads through endofunctors and natural transformations rather than just programming examples. The lecture introduces the fish operator for Kleisli arrow composition and dismantles it into the bind operator and return. It then details the alternative definition using join and return, showing how both formalisms capture functional programming side effects like partial functions and state. Finally, the presentation connects these programming constructs back to category theory via natural transformations and and their commutative coherence diagrams.
Category theory defines monads through endofunctors and natural transformations rather than just programming examples. The lecture introduces the fish operator for Kleisli arrow composition and dismantles it into the bind operator and return. It then details the alternative definition using join and return, showing how both formalisms capture functional programming side effects like partial functions and state. Finally, the presentation connects these programming constructs back to category theory via natural transformations and and their commutative coherence diagrams.

This lecture
Lecture 19 of 20 of Category Theory for Programmers.
Choose a node to see how it connects to this lecture. What comes before is on the leftat the top. What comes after is on the rightat the bottom. The ring is what it teaches. People and places are above.
Press a chosen node again to open it.
Your comment is kept while you sign up.Sign in