Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.programming > #16930
| From | Lawrence D’Oliveiro <ldo@nz.invalid> |
|---|---|
| Newsgroups | comp.programming |
| Subject | Re: continuations in ``the art of computer programming'' |
| Date | 2026-09-25 00:06 +0000 |
| Organization | A noiseless patient Spider |
| Message-ID | <1194du2$34hlg$7@dont-email.me> (permalink) |
| References | <87se31fd84.fsf@safunu.org> <87tsnhtbbl.fsf@ID-208667.user.individual.de> <87ld8qd1px.fsf@safunu.org> |
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 doesn’t need to be a jump to begin with. You could just save the return point and continue execution normally. Think setjmp/longjmp in C -- that’s a form of continuation, too. It’s just that the Lisps usually implement it as “call a function while passing it another function which, when called, jumps back to just after the point of the initial call”.
Back to comp.programming | Previous — Previous in thread | Find similar | Unroll thread
continuations in ``the art of computer programming'' Anton Antimo <anton@safunu.org> - 2026-09-22 13:43 -0300
Re: continuations in ``the art of computer programming'' ram@zedat.fu-berlin.de (Stefan Ram) - 2026-09-22 18:04 +0000
Re: continuations in ``the art of computer programming'' usenet@stegropa.de (Stefan Große Pawig) - 2026-09-22 20:01 +0200
Re: continuations in ``the art of computer programming'' Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-09-22 21:07 +0000
Re: continuations in ``the art of computer programming'' Anton Antimo <anton@safunu.org> - 2026-09-24 13:59 -0300
Re: continuations in ``the art of computer programming'' Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-09-25 00:06 +0000
csiph-web