(rontolisp) docs
← (scheme base)

call/cc

(call/cc proc)

Calls proc with the current continuation as its one argument. Calling the continuation with a value returns that value from the call/cc call. The continuation is escape-only: it can be called once, while its call/cc is still running. Re-entering it later is not supported, so generators and coroutines cannot be built on it. call-with-current-continuation is the same procedure.