TAMING YOUR HERD OF CATS
summary
Practical tips for using the cats library: use asRight / asLeft and .some/.none for inferred Option/Either constructors, prefer Nested to map/traverse List[Option] instead of manual nesting, and import cats.implicits unless the team carefully composes cats.syntax and cats.instances to avoid ambiguous implicits. Shows concrete code examples for Semigroup/Monoid instances to combine Lists, Sets, Strings and Option-wrapped values, notes Either is right-biased and which traversal/sequence operations act on the right.
AI-written summary · about
chapters (18)
- 0:00Introduction
- 0:16Overview
- 2:20accentuated constructors
- 6:25nested
- 8:06import
- 9:27cut syntax
- 11:18importcuts error
- 12:05importcuts explanation
- 14:01importcuts difficulty
- 14:40semigroup demo mono
- 16:22combine
- 18:25concatenate
- 20:08semigroup
- 21:42combined
- 23:09pers
- 25:07types
- 25:51recommendations
- 26:45Eugenia Kota








