Optics Journeys

Four journeys covering the full optics surface, from first-principles Lens and Prism up to the Focus DSL. Work them in order: each builds on concepts introduced earlier.

Where This Fits in the Bigger Picture

The .focus().attributes().at(key) token in One Line, Six Layers is the optic layer; these journeys teach the pieces that compose into that one fluent path. The reference material lives in the Optics chapter.

JourneyFocusDurationExercises
Lens & PrismLens basics, composition, Prism, Affine~40 min30
Traversals & PracticeTraversals, composition, real-world applications~40 min27
Fluent & Free DSLFluent API, advanced Prism patterns, Free Monad DSL~35 min22
Focus DSLType-safe path navigation, container widening~35 min29

Next: Lens & Prism