Lenses for the Masses: Introducing Goggles
summary
The talk presents Goggles, a Scala macro built on the Monocle optics library that creates a compiler-checked mini-language for constructing, composing and applying lenses/optics. It explains the usability problem with existing optic implementations (either very powerful but hard to learn, or simple but limited) and shows how Goggles uses Scala macros and flexible syntax to offer a concise, familiar interface with informative compiler errors; the talk also discusses the macro implementation details.
AI-written summary · about
chapters (5)
- 0:00Welcome
- 10:28Goggles concept and origin
- 20:46How Goggles lenses work
- 30:30Practical Goggles use cases
- 35:47Closing and thanks
related talks
33mMonocle 3: a peek into the future
57mLet's Lens - Part 2 of 5
32mFunctional Lenses in JavaScript
38mAdvanced Swift Optics
21mEffectful Lenses: There and Back with Different Monads
26mUP YOUR MTL GAME WITH CLASSY OPTICS
20mBlocs with Functional Programming: bloc_lens in Action
35mIntroducing Typelevel Scala into an OO environment
