I am posting this as an individual member of the Scheme
community. I am not speaking for the R6RS editors.
Marcin 'Qrczak' Kowalczyk <qrczak_at_knm.org.pl> writes:
> I think the exit-code condition doesn't necessarily mean that the
> script is unsuccessful. It may be used as a mere non-local exit
> when the exit code is something innocent like 0.
>
> For example a parser of script parameters might exit this way when it
> recognizes --help or --version, to leave the normal control flow for
> the normal usage of the program.
For that purpose, Scheme has call/cc. The exception mechanism is for
exceptional situations.
--
Cheers =8-} Mike
Friede, V?lkerverst?ndigung und ?berhaupt blabla
Received on Thu Oct 05 2006 - 08:36:42 UTC