[r6rs-discuss] Script exit code
sperber at informatik.uni-tuebingen.de
Thu Oct 5 08:36:42 EDT 2006
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
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla
More information about the r6rs-discuss