Would ext:exit be a good addition?

Alex Goncharov alex-goncharov at comcast.net
Wed Jan 27 02:39:20 CET 2010


Does anybody see a downside to introducing a simple way to exit REPL
with a status, via something like `(exit 1)'?

CMUCL has 

 (defun quit (&optional recklessly-p)
   "Terminates the current Lisp.  Things are cleaned up unless Recklessly-P is
   non-Nil."

but that always exits with status 0, which is often not what is
wanted.

And (unix:unix-exit 1) is too long to type.

`exit STATUS' is so common everywhere that it should be natural to use
it in CMUCL, too.

-- Alex -- alex-goncharov at comcast.net --



More information about the cmucl-imp mailing list