From Newsgroup: comp.programming
On Thu, 24 Sep 2026 13:59:54 -0300, Anton Antimo wrote:
So I think call/cc is essentially a jump over there, do something
and take here an address for you to get back to what you were doing
before.
There doesnrCOt need to be a jump to begin with. You could just save the
return point and continue execution normally. Think setjmp/longjmp in
C -- thatrCOs a form of continuation, too.
ItrCOs just that the Lisps usually implement it as rCLcall a function
while passing it another function which, when called, jumps back to
just after the point of the initial callrCY.
--- Synchronet 3.22a-Linux NewsLink 1.2