Monad Transformers for the Easily Confused
summary
Claims that monad transformers let different effects be composed are demonstrated with concrete Haskell code, a tiny Stack repo, and the transformers package ecosystem fact (over 2,500 Stackage packages). The talk shows how to implement and read bind via runIdentityT and join, how to lift IO into MaybeT with lift and runMaybeT, and how stacking order changes semantics. Examples build toward a working functional web app using persistence/esqueleto and SQLite, with runnable code and compilation notes.
AI-written summary · about
chapters (20)
- 0:00Intro
- 0:30Code
- 2:12Summary
- 3:54Functors
- 5:21Pure
- 6:48Interchange
- 9:01Dollar
- 9:53Composition
- 11:53Three Monad Laws
- 13:14Examples
- 15:40Operators
- 16:44Functor
- 20:16Join
- 23:02Identity Team
- 26:59Ship
- 29:18Identity
- 31:01IO String
- 32:18Lift
- 33:33IO
- 39:37Identity TM








