Cover page by Cay S. Horstmann

Safari, the world’s most comprehensive technology and business learning platform.

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required

O'Reilly logo

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 ...

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required