mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-19 05:39:18 +02:00
add history documentation
This commit is contained in:
parent
5bcd37477f
commit
cbe1b045b4
1 changed files with 7 additions and 0 deletions
|
@ -165,6 +165,13 @@
|
||||||
;;> \item{\scheme|{\exit}| - exit the REPL}
|
;;> \item{\scheme|{\exit}| - exit the REPL}
|
||||||
;;> ]
|
;;> ]
|
||||||
|
|
||||||
|
;;> The results of the last ten successful evaluations are available
|
||||||
|
;;> via a history facility. \var{$0} holds the most recent result
|
||||||
|
;;> while \var{$9} holds the tenth-most recent result. Evaluations
|
||||||
|
;;> yielding single values are stored as single values while evaluations
|
||||||
|
;;> that yield multiple values are stored as lists of values.
|
||||||
|
|
||||||
|
|
||||||
(define-record-type Repl
|
(define-record-type Repl
|
||||||
(make-repl
|
(make-repl
|
||||||
in out escape module env meta-env make-prompt history-file history raw?)
|
in out escape module env meta-env make-prompt history-file history raw?)
|
||||||
|
|
Loading…
Add table
Reference in a new issue