/, //, ///
/, //, /// Variable
Value Type:
a proper list.
Initial Value:
implementation-dependent.
Description:
The variables /, //, and /// are maintained by the Lisp read-eval-print loop to save the values of results that were printed at the end of the loop.
The value of / is a list of the most recent values that were printed, the value of // is the previous value of /, and the value of /// is the previous value of //.
The values of /, //, and /// are updated immediately prior to printing the return value of a top-level form by the Lisp read-eval-print loop. If the evaluation of such a form is aborted prior to its normal return, the values of /, //, and /// are not updated.
Examples:
(floor 22 7) → 3, 1
(+ (\* (car /) 7) (cadr /)) → 22
Affected By:
Lisp read-eval-print loop.
See Also:
- (variable), + (variable), * (variable), Section 25.1.1 (Top level loop)
lisp-implementation-type, lisp-implementation version FunctionSyntax:
lisp-implementation-type ⟨no arguments⟩ → description
lisp-implementation-version ⟨no arguments⟩ → description
Arguments and Values:
description—a string or nil.
Description:
lisp-implementation-type and lisp-implementation-version identify the current implementation of Common Lisp.
lisp-implementation-type returns a string that identifies the generic name of the particular Common Lisp implementation.
lisp-implementation-version returns a string that identifies the version of the particular Common Lisp implementation.
If no appropriate and relevant result can be produced, nil is returned instead of a string.
Examples:
(lisp-implementation-type)
→ "ACME Lisp"
<i><sup>or</sup>→</i> "Joe’s Common Lisp"
(lisp-implementation-version)
→ "1.3a"
→ "V2"
<i><sup>or</sup>→</i> "Release 17.3, ECO #6"
**short-site-name, long-site-name** *Function*
Syntax:
short-site-name ⟨no arguments⟩ → description
long-site-name ⟨no arguments⟩ → description
Arguments and Values:
description—a string or nil.
Description:
short-site-name and long-site-name return a string that identifies the physical location of the computer hardware, or nil if no appropriate description can be produced.
Examples:
(short-site-name)
→ "MIT AI Lab"
<i><sup>or</sup>→</i> "CMU-CSD"
(long-site-name)
→ "MIT Artificial Intelligence Laboratory"
<i><sup>or</sup>→</i> "CMU Computer Science Department"
Affected By:
The implementation, the location of the computer hardware, and the installation/configuration process.
Expanded Reference: /, //, ///
TODO: Please contribute to this page by adding explanations and examples
(/, //, /// )