Back to index A B C D E F G H I J K L M N O P Q R S T U V W X Y Z Other

Alphabetic catalog of Language elements U

unquote

unquote evaluates an expression in a quasiquote template.

Category Special form
Format
(unquote exp)
,exp
Parameters
exp any expression
Description unquote evaluates exp in a quasiquote expression. The result is inserted into the template in place of the unquote expression. It's an error when unquote appears outside of a quasiquote expression. unquote may be abbreviated with a comma ,
R4RS Compliance Full
Examples See quasiquote

unquote-splicing

unquote-splicing evaluates an expression in a quasiquote template and splices it into the template.

Category Special form
Format
(unquote-splicing exp)
,@exp
Parameters
exp any expression
Description unquote-splicing evaluates exp in a quasiquote expression. The expression must evaluate to a list. The opening and closing parentheses of this list are removed and all items are inserted in place of the unquote-splicing expression. It's an error when unquote-splicing appears outside of a quasiquote expression. It's also an error when the context is not a list or a vector. unquote-splicing may be abbreviated with comma at-sign ,@
R4RS Compliance Full
Examples See quasiquote

Back to index A B C D E F G H I J K L M N O P Q R S T U V W X Y Z Other