O'Reilly logo

Scala for the Impatient by Cay S. Horstmann

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 22. Delimited Continuations

Topics in This Chapter image

22.1 Capturing and Invoking a Continuation — page 320

22.2 The “Computation with a Hole” — page 321

22.3 The Control Flow of reset and shift — page 322

22.4 The Value of a reset Expression — page 323

22.5 The Types of reset and shift Expressions — page 323

22.6 CPS Annotations — page 325

22.7 Turning a Recursive Visit into an Iteration — page 326

22.8 Undoing Inversion of Control — page 329

22.9 The CPS Transformation — page 332

22.10 Transforming Nested Control Contexts — page 334

Exercises — page 336

Continuations are a powerful construct that allows you to implement ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required