September 2026
Intermediate
368 pages
10h 37m
English
In the first abstract nonsense interlude (chapter 7), we saw how to view generic type systems through the lens of category theory. Generic types can be thought of as endofunctors: functions that take and return types. In the second interlude (chapter 11), we looked at the monad design pattern, also inspired by category theory, and saw that generic types as diverse as nullable, sequence, lazy, and task types have a way to transform workflows of regular types into identical workflows of the generic types. In this short final interlude, we’ll look at one more example: the probability ...
Read now
Unlock full access