Next: SC Transformer Definition, Previous: Syntactic Closures, Up: Syntactic Closures
This section defines the concepts and data types used by the syntactic closures facility.
set! special form is also a form. Examples of
forms:
17
#t
car
(+ x 4)
(lambda (x) x)
(define pi 3.14159)
if
define
symbol?. Macro transformers rarely distinguish symbols from
aliases, referring to both as identifiers. Another name for an
alias is synthetic identifier; this document uses both names.
A syntactic closure may be used in any context in which its form could
have been used. Since a syntactic closure is also a form, it may not
be used in contexts where a form would be illegal. For example, a form
may not appear as a clause in the cond special form.
A syntactic closure appearing in a quoted structure is replaced by its form.