Implement call-with-current-continuation (call/cc), delimited continuations, and algebraic effects. Apply continuation-passing style (CPS) transformation and analyze the relationship between effects and monads.
20 lessons
2 h
advanced
What you'll learn
Define a continuation and explain its role in computation.
Describe how continuations are represented at a low level (stack, registers, program counter).
Explain the CPS transformation and its purpose.
Contrast direct style with CPS.
Describe how control transfer works in CPS.
Define call/cc and its purpose.
Finishing the course
80 knowledge-check questions along the way, so you know the ideas stuck before you move on.
Watching is free and needs no account. Sign in to save your progress. Pass each lesson's quiz (60%+) to earn the certificate. Each certificate has its own public verification link to share, marked quiz-verified.
Finishing it also earns the microskills this course teaches, each with its own certificate. Your first 10 microskills are free.