News for hackers. Stuff that matters.
Re:All you need is call/cc (2013) by gpderetta on Thursday August 26, 2021 @05:28AM (#28312527)
Interestingly it is relatively straightforward to implement one shot continuations in C++ (i.e. call/cc1), but your example implicitly relies on being able to invoke a continuation multiple times. You can sort of implement multishot continuations with fork (more than just a curiosity, that's how reversible debuggers work in fact).

There are no comments on this comment yet.