3 ms·
I think common lisp's restart system and/or delimited continuations handle most of the "reasonable" uses of continuations without some of the less intuitive asp
by fiddlerwoaroof 9y ago
I think common lisp's restart system and/or delimited continuations handle most of the "reasonable" uses of continuations without some of the less intuitive aspects of full continuations.
- JadeNB 9y ago> I think common lisp's restart system and/or delimited continuations handle most of the "reasonable" uses of continuations without some of the less intuitive aspects of full continuations. As you may know, Oleg makes the same argument, that call/cc has a lot of problems, and, in practice, isn't really used anyway: http://okmij.org/ftp/continuations/against-callcc.html#illusion http://okmij.org/ftp/continuations/against-callcc.html#illus... . (EDIT: I see that sillysaurus (https://news.ycombinator.com/item?id=14680711 https://news.ycombinator.com/item?id=14680711) linked this same discussion a while ago.)
- kazinator 9y agoDelimited continuations are the full ones. The so-called full continuations lack the flexibility to put the delimiting prompt anywhere but the top-level entry point to the program or thread. Delimited continuations are complete in the sense that they let the programmer control where the top is. Put the delimiting prompt around the top-level startup function and you have a "full" continuation.