Globals
globalAccesses a global variable.
global=Assigns a new value to a global variable.
freeze-global!Freezes a global variable.
has-global?Returns #t if the given symbol has a global binding.
bind-global!Binds a global variable.
del-global!Unbinds a global variable.
defA shorthand for bind-global!.
with-globalMutates a global variable for the duration of a dynamic scope.
Functions
defnDefines a function and binds it to a global variable.
let-fnDefines a function and binds it to a local variable.
fn-nameReturns a function's name.
arg-limitsReturns a function's minimum and maximum argument count.
min-argsReturns a function's minimum argument count.
max-argsReturns a function's maximum argument count.
fn0Defines a function with zero arguments.
fn1Defines a function with one argument.
no-opDiscards any number of arguments and returns #n.
identityReturns its argument.
Coroutines
fn-yields?Returns #t if a function might yield.
coro-stateReturns the current status of a coroutine.
coro-runResumes a paused coroutine.
coro-finish!Prematurely finishes a coroutine.
Evaluation
loadEvaluates the contents of a file.
requireEvaluates the contents of a file, if it hasn't been seen before.
evalEvaluates a value as a form.
eval-multiEvaluates multiple values as forms.
Evaluation
Macros
expandCompletely expands a form.
expand-multiCompletely expands multiple forms.
expand-1Partially expands a form.
macroAccesses a global macro.
macro=Assigns a new global macro to a symbol.
has-macro?Returns #t if the given symbol has a global macro binding.
bind-macro!Binds a global macro.
del-macro!Unbinds a global macro.
defmacroA shorthand for bind-macro!.