Expression Journeys

Two journeys on for-comprehensions beyond the basics: named state records that replace positional tuples, and explicit parallel composition for independent computations.

Where This Fits in the Bigger Picture

For-comprehensions are the idiom that turns chains of flatMap into something that reads like a sequence of statements. They sit on top of Monad (sequential) and Applicative (parallel); the For Comprehension reference page covers the typeclass machinery these journeys build on.

JourneyFocusExercises
ForStateNamed record state, lens threading, zoom, matchThen13
ForPath ParallelApplicative parallel composition for Path types9

Previous: Boundary Mapping Next: ForState