Re: [Scheme-reports] Exception handling Andy Wingo (02 May 2011 10:20 UTC)
Re: [Scheme-reports] Exception handling Alaric Snell-Pym (02 May 2011 10:36 UTC)
Re: [Scheme-reports] Exception handling Andy Wingo (02 May 2011 10:51 UTC)
Re: [Scheme-reports] Exception handling Alaric Snell-Pym (02 May 2011 12:33 UTC)
Re: [Scheme-reports] Exception handling Aaron W. Hsu (02 May 2011 14:17 UTC)
Re: [Scheme-reports] Exception handling Aaron W. Hsu (02 May 2011 14:18 UTC)
Re: [Scheme-reports] Exception handling Vincent Manis (02 May 2011 15:04 UTC)
Re: [Scheme-reports] Exception handling Aaron W. Hsu (03 May 2011 00:17 UTC)
Re: [Scheme-reports] Exception handling Vincent Manis (03 May 2011 01:24 UTC)
Re: [Scheme-reports] Exception handling Vincent Manis (03 May 2011 01:31 UTC)
Re: [Scheme-reports] Exception handling John Cowan (03 May 2011 07:04 UTC)

Re: [Scheme-reports] Exception handling John Cowan 03 May 2011 07:03 UTC

Vincent Manis scripsit:

> I would like to know what the metric is for `this is too much to
> ask'. As presented in the Draft, exception handling is purely
> ornamental;

That is, handling of error-objects, whether created by calling `error`
or by some implementation-dependent means, is ornamental, because you
can't detect them.  I agree that that's bad.

However, a portable program can raise its own condition objects and
detect and dissect them, and an implementation can do the same using
implementation-dependent procedures.

> there is essentially nothing that a compliant program can do in
> reporting an error except write out `SOMETHING IS WRONG' (it's agreed
> that a program will know that an error or exception occurred; here I
> am concerned about reporting). I attempted to repair this by proposing
> a type predicate, [...] and two accessors.

There are really only two bars to pass: a WG member has to file a ticket
(which I have done) and the WG has to vote the proposal in.  WG members
may or may not provide explanations of why they vote the way they do; if
so, these are published with the ballots.

--
John Cowan              cowan@ccil.org          http://www.ccil.org/~cowan
Historians aren't constantly confronted with people who carry on
self-confidently about the rule against adultery in the sixth amendment to
the Declamation of Independence, as written by Benjamin Hamilton. Computer
scientists aren't always having to correct people who make bold assertions
about the value of Objectivist Programming, as examplified in the HCNL
entities stored in Relaxational Databases.  --Mark Liberman

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