Lecture overview -- Keyboard shortcut: 'u'  Previous page: Coroutines [Section] -- Keyboard shortcut: 'p'  Next page: Simulating Coroutines in Scheme -- Keyboard shortcut: 'n'  Lecture notes - all slides and notes together  slide -- Keyboard shortcut: 't'  Help page about these notes  Alphabetic index  Course home  Lecture 3 - Page 36 : 43
Programming Paradigms
Simulation of other Paradigms and Continuations
Coroutines

A function F1 that calls a function F2 are not symmetric - If F2 is called several times it restarts every time

Two coroutines C1 and C2 cooperate in a fully symmetric way - by resuming each other.

The flow of control among functions (F1 calls F2) left, and among coroutines (C1 and C2 resume each other).