guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

On quitting and exiting


From: Mike Gran
Subject: On quitting and exiting
Date: Wed, 13 Mar 2013 21:40:47 -0700 (PDT)

Hello.

There seem to be four ways to force an exit.

In boot-9, a function `quit' is defined.  It appears in the manual,
but, in boot-9 it can take an argument.  In the manual it never
takes an argument.

In boot-9, `exit' is aliased to quit.  In the manual `exit' is 

undocumented; however, in the documentation in (rnrs programs),
it notes that (rnrs programs)'s version of exit is the same
as the "core" version of exit.

And then there is primitive-exit and primitive-_exit, which are
described in the manual.

So clearly, there's some confusion here.  Are 'quit' and 'exit'
supposed to be API?  Is the fact that they can take an argument
supposed to be documented?

Or is 'primitive-exit' the generally the way to go? 


Thanks,

Mike




reply via email to

[Prev in Thread] Current Thread [Next in Thread]