Scalaz 102 Level Up Your Scalaz Foo!
summary
Scalaz is presented as a practical toolbox for Scala showing exact imports, idioms and when types matter: NonEmptyList to avoid unsafe heads, Validation with error accumulation versus disjunction for fail‑fast, and using foldMap as MapReduce to merge maps and sum nested values. Covers Semigroup/Monoid instances for merging maps, Foldable/Traverse to flip structures (sequence/traverseU), notes kind‑projector for nicer higher‑kinded types, and gives working examples that simplify real code.
AI-written summary · about
chapters (10)
- 0:00Intro
- 1:24Ask Questions!
- 1:59What is Scalaz?
- 3:05Scalaz Package Structure
- 8:17NonEmptyList
- 11:45Validation
- 14:20Typeclasses
- 15:45Semigroup
- 21:13Foldable
- 27:05Traverse
related talks
29mLearning Scalaz
31mCool toolz in the Scalaz and Cats toolboxes
01h 35mAn Unexceptional Scalaz Workshop
37mA Skeptic’s Look at scalaz’ Gateway Drugs: A Practical Exploration
01h 03mIntro to FP in Scala: Exploring a Toolbox for Solving Problems - Part 4 of 6
32mTypelevel's Road to Scala 3
45mTypelevel Programming 101: The Subspace of Scala
01h 02mPrinciples and tools to cleverly model your data in Scala
