[R6RS] Final expression in programs

Anton van Straaten anton at appsolutions.com
Thu Jan 18 15:23:15 EST 2007


William D Clinger wrote:
> In my opinion, the best solution is to add an exit
> procedure to the (r6rs scripts) library (whatever
> it will be called in 5.92) that exits the program
> (i.e. throws to the end of the program).  With no
> arguments, the exit procedure should (not "must")
> tell the OS that the program exited normally.
> With one argument, the exit procedure should (not
> "must") translate the argument in some unspecified
> but presumably OS-appropriate way into the kind of
> exit value that the OS will understand.

This works for me.  The library in question is now called (r6rs 
programs) and also contains the command-line procedure.

I'll add the text for this.  This falls under Robert's Rules as Modified 
by Mike, in which you yell if you object.

Anton




More information about the R6RS mailing list