[r6rs-discuss] Script exit code
Marcin 'Qrczak' Kowalczyk
qrczak at knm.org.pl
Thu Oct 5 15:54:19 EDT 2006
Michael Sperber <sperber at informatik.uni-tuebingen.de> writes:
>> 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.
What is an advantage of call/cc over a condition here?
--
__("< Marcin Kowalczyk
\__/ qrczak at knm.org.pl
^^ http://qrnik.knm.org.pl/~qrczak/
More information about the r6rs-discuss
mailing list