Learning Scalaz
summary
Scalaz aims to make Scala code more type-safe and composable by providing concrete tools: it replaces unsafe equality so comparing different literal types fails to compile via === triple equals, pulls fold patterns into a reusable zero and append monoid abstraction, offers an applicative NonEmptyList Validation that accumulates all form errors (returns a Failure containing both missing-last-name and bad-password), and supplies a State monad to sequence state transitions (used here to model a Tetris-like block AI). The recommended workflow is hands-on REPL exercises and examples.
AI-written summary · about
chapters (12)
- 0:00Intro
- 1:26When did you start coding
- 1:46Why did you start coding
- 2:15How did you start coding
- 2:27How did you start learning Scala
- 3:09The first rule sort of
- 3:33The second rule sort of
- 4:50The third rule
- 5:30Books
- 5:50Programming
- 11:59Expression Problem
- 13:05Polymorphism
related talks
34mScalaz 102 Level Up Your Scalaz Foo!
38mThinking Less with Scala
01h 35mAn Unexceptional Scalaz Workshop
31mCool toolz in the Scalaz and Cats toolboxes
37mA Skeptic’s Look at scalaz’ Gateway Drugs: A Practical Exploration
22mTowards an Educational Fragment of Scala
35mIntroducing Typelevel Scala into an OO environment
45mTypelevel Programming 101: The Subspace of Scala
