guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "Missing" libraries/concepts found in other languages/ecosystems?


From: Chris Vine
Subject: Re: "Missing" libraries/concepts found in other languages/ecosystems?
Date: Sun, 12 Jul 2020 21:26:14 +0100

On Sat, 11 Jul 2020 21:52:17 -0400
John Cowan <cowan@ccil.org> wrote:
> On Sat, Jul 11, 2020 at 7:10 PM Chris Vine <vine35792468@gmail.com> wrote:
> 
> So when you said "continuable and non-continuable in Scheme are exactly
> > like CL [signal] and error (and its variants)" are you then saying that
> > SIGNAL == continuable (ie raise-continuable in R6RS) and ERROR ==
> > non-continuable (ie raise in R6RS)?
> 
> That is what I meant.
> 
> > In what way do you say that continuable exceptions are not in some sense
> > analogous to common lisp restarts (noting the "in some sense"?
> 
> Well, okay, but in *what* sense?  You made the claim in the first place; I
> think the burden of persuasion lies with you.

I am not sure that burdens is the best way of looking at it.  But my
point of analogy was that with either restarts or continuable
exceptions, the stack is not unwound to the dynamic context in which
with-exception-handler was called, which is the norm in conventional
stack unwinding exception handling systems.  Control returns to (for
continuable exceptions) the point at which the exception was raised or
(for restarts) the relevant restart.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]