Previous: Inspect Commands, Up: REPL Commands [Contents][Index]
Garbage collection.
Display statistics.
With no arguments, lists all options. With one argument, shows the current value of the name option. With two arguments, sets the name option to the result of evaluating the Scheme expression exp.
Quit this session.
Current REPL options include:
compile-optionsThe options used when compiling expressions entered at the REPL. See Compilation, for more on compilation options.
interpWhether to interpret or compile expressions given at the REPL, if such a choice is available. Off by default (indicating compilation).
promptA customized REPL prompt. #f by default, indicating the default
prompt.
printA procedure of two arguments used to print the result of evaluating each
expression. The arguments are the current REPL and the value to print.
By default, #f, to use the default procedure.
value-historyWhether value history is on or not. See Value History.
on-errorWhat to do when an error happens. By default, debug, meaning to
enter the debugger. Other values include backtrace, to show a
backtrace without entering the debugger, or report, to simply
show a short error printout.
Default values for REPL options may be set using
repl-default-option-set! from (system repl common):
Set the default value of a REPL option. This function is particularly useful in a user’s init file. See Init File.