3.4 Syntax and Evaluation
"Quotes" the given v
, without evaluating its contents. A quoted list is
passed merely as data, a quoted atom is a "symbol" as per symbol?. Can
be shortened to '.
syntax
(quasiquote v)
`v
Same as quote, but can be "escaped" with the unquote and
unquote-splicing syntax. Can be shortened to `.
When encountered within a a quasiquoted block, evaluates v and
quotes its value instead. Can be shortened to ,.
syntax
(unquote-splicing v)
,@v
procedure
(error message) → nothing
message : string? (error symbol message) → nothing symbol : symbol? message : string?
Halts the program, returning an error of symbol: message where
symbol is a quoted value (customarily the name of the current function)
and message is a string.
procedure
(run form) → any
form : any
Evaluates the given form. Usage is not recommended.
syntax
(rem any ...)
Ignores its arguments and returns void. Useful for block comments.