Mo’Problems, Mo’Nads
summary
Code uses the moneo library to wrap real examples: maybe monad for safe property access and regex fallback, either for safeJSON parsing → save-to-db flow, and an io monad that composes lazy side effects and runs them with .run or generator do/yield syntax. Shows map/chain/fold/concat semantics, short‑circuiting on failures, and that moneo’s IO transparently transforms Promises so async operations compose predictably instead of nesting try/catch spaghetti.
AI-written summary · about
chapters (16)
- 0:00Introduction to Monads
- 0:54The right tool for the job
- 2:36Intuition over theory
- 5:07Types and values
- 7:05Monad rules and implementation
- 9:10Laws in action
- 10:58Monads and friends
- 12:45Why monads matter
- 14:55The maybe monad
- 17:38Imperative vs functional
- 21:15Safe property access
- 24:06Handling exceptions
- 27:17Managing side effects
- 31:15Do syntax and async
- 33:40Summary and takeaways
- 35:14Q&A session








