Working efficiently with immutability
summary
Shows efficient ways to update deeply nested immutable data in Scala by using lenses and zippers. Demonstrates theory plus practical examples using the Monocle and Circe libraries, covering value classes and collections.
AI-written summary · about
chapters (15)
- 0:00Start
- 0:27Objectives
- 6:28Efficiency
- 9:42Enigma
- 11:37Rotor window
- 12:06Rotors
- 17:47Optics
- 20:13(Simplified) Rotor
- 23:51Prism
- 25:54Composition
- 35:52List Zipper
- 36:54Helper lens
- 37:24Marking cycle
- 41:55Tree zipper
- 42:45Zippers
related talks
01h 03mRefactoring to Immutability
44mType level Computations in Scala
57mLet's Lens - Part 4 of 5
48mMutable or Immutable? Let's do both!
13mThe Record: Migrate to Immutability
48mA gentle introduction to type level programming in Scala
49mIdris for (im)practical Scala programmers
33mArmored type safety with Iron
