3 ms·
All local variables are saved by a continuation. EDIT: Nope.
by sillysaurus3 9y ago
All local variables are saved by a continuation. EDIT: Nope.
- kazinator 9y agoThis can be easily demonstrated false in Scheme. Two continuations which capture the same environment can mutate it and see each other's mutations. A continuation captures variable bindings similarly to a closure. (It just captures more than just variable bindings and more than just the lexically apparent ones.)
- sillysaurus3 9y agoWhoops. You're right, thank you.