Ulrich Hobelmann <firstname.lastname@example.org> wrote:
| >> I don't get it. Why would anyone want to save Lisp *and* die?
| > You should learn programming in Lisp - then you would understand
| > what it means...
| By the way, I think the coding style in other languages (such as shell)
| would be more like
| save-lisp || die
Nah, that's still not quite right. First, it's an AND, not OR:
save-self && exit 0
and "save-self" is required to be built-in shell command.
[Note: Saying "exec save-self" wold not be quite correct, either,
since the original CMUCL SAVE-LISP only exited when successful.]
p.s. SBCL's SAVE-LISP-AND-DIE is just the truth-in-advertising version
of parent CMUCL's SAVE-LISP, which always died if successful, but that
small fact is missing from the function's doc string. ;-}
Rob Warnock <email@example.com>
627 26th Avenue <URL:http://rpw3.org/>
San Mateo, CA 94403 (650)572-2607