Skip to content

Comment on Restarts in Common Lispparent

Comments

Interesting. I'm not sure I understand; what do the dynamically-scoped hooks lack that continuations would give you?

In Common Lisp, you can only transfer control up the stack. With continuations, you get multiple stacks that you can transfer control between.

To be frank, I do not know. I am not a continuation specialist or even an adept, so I cannot say myself; all I can say for sure is that a condition system can be implemented (and is actually implemented in practice) without any continuations, and therefore doesn't require the underlying language to support continuations. (Common Lisp, for example, purposefully doesn't have them in standard - see http://www.nhplace.com/kent/PFAQ/unwind-protect-vs-continuat...)

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.