Re: [Scheme-reports] exception handling John Cowan (08 Aug 2011 19:31 UTC)
Re: [Scheme-reports] exception handling Per Bothner (08 Aug 2011 21:12 UTC)
Re: [Scheme-reports] exception handling John Cowan (08 Aug 2011 23:15 UTC)
Re: [Scheme-reports] exception handling Jussi Piitulainen (15 Aug 2011 09:00 UTC)

Re: [Scheme-reports] exception handling John Cowan 08 Aug 2011 19:31 UTC

Per Bothner scripsit:

> A typo in draft-3:
>   (merror message obj ...)
>    Message should be a string.  raise on a new created ...
>
> The sentence starting with "raise" is missing a verb.  Perhaps "Invokes"?

Fixed on trunk.

> The example listed after error does not make use of error.

It belongs with raise-continuable.  Editorial ticket filed.

> More fundamentally, the paradigm seems very awkward.  The classic
> exception-handling idiom in a language with non-continuable exception
> seems to require call-cc, which is rather painful:

See "guard" (4.2.7).  This unwinds the dynamic state while executing the
appropriate catch clause and then falls out the bottom of the guard.  But
if no catch clause applies, the state is rewound (except for the current
handler) and the next handler is tried.

--
John Cowan  cowan@ccil.org   http://ccil.org/~cowan
Assent may be registered by a signature, a handshake, or a click of a computer
mouse transmitted across the invisible ether of the Internet. Formality
is not a requisite; any sign, symbol or action, or even willful inaction,
as long as it is unequivocally referable to the promise, may create a contract.
       --Specht v. Netscape

_______________________________________________
Scheme-reports mailing list
Scheme-reports@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports