Cool toolz in the Scalaz and Cats toolboxes
summary
Cats is a modular reimplementation of Scalaz and exposes concrete type classes like Show and Eq, Functor, Applicative/Traverse and Validated/Validation. Examples show Functor letting one pure function run over List, Option or Future (and even Spark) without changing code, Applicative/Traverse assembling a DB config reader that accumulates missing fields, and Validated collecting all form errors. Code moves checks to compile time where possible; the patterns are used in production and can be ported between Scalaz and Cats.
AI-written summary · about
chapters (10)
- 0:00Introduction to libraries
- 1:36Philosophy of Scala
- 4:06Navigating the ecosystem
- 6:12Architectural patterns
- 9:06Syntax and type classes
- 13:24Type class mechanics
- 15:46Functors and context
- 20:53Applicatives and composition
- 23:56Practical application
- 26:52Validation and resources








