6 ms·
http://okmij.org/ftp/continuations/against-callcc.html http://okmij.org/ftp/continuations/against-callcc.html is pretty informative. It was kind of eye opening
by sillysaurus3 8y ago
http://okmij.org/ftp/continuations/against-callcc.html http://okmij.org/ftp/continuations/against-callcc.html is pretty informative. It was kind of eye opening to see just how many corner cases there are when dealing with continuations.
(See the section “memory leaks”.)
- mehrdadn 8y agoThanks for the link! Unfortunately I don't understand what it's saying the issue is... would you have a simple example to illustrate? It's been years since I did Scheme, I've never actually needed to use call/cc in a program, and I'm not advanced enough in Scheme to have seen shift/reset (as with call/c, their documentation is not quite clear). :\
- sillysaurus3 8y agoI could, but not at 3 AM. :) I'll try to remember tomorrow.