fix docs to clarify that `#%expression' appears from local-expand
This commit is contained in:
parent
bed64be873
commit
d718a2b128
|
@ -215,7 +215,8 @@ instead of a list, then @racket[stx] is expanded only as long as the
|
||||||
outermost form of @racket[stx] is a macro (i.e., expansion does not
|
outermost form of @racket[stx] is a macro (i.e., expansion does not
|
||||||
proceed to sub-expressions). A fully expanded form can include the
|
proceed to sub-expressions). A fully expanded form can include the
|
||||||
bindings listed in @secref["fully-expanded"] plus the
|
bindings listed in @secref["fully-expanded"] plus the
|
||||||
@racket[letrec-syntaxes+values] form.
|
@racket[letrec-syntaxes+values] form and @racket[#%expression]
|
||||||
|
in any expression position.
|
||||||
|
|
||||||
The optional @racket[intdef-ctx] argument must be either @racket[#f],
|
The optional @racket[intdef-ctx] argument must be either @racket[#f],
|
||||||
the result of @racket[syntax-local-make-definition-context], or a list
|
the result of @racket[syntax-local-make-definition-context], or a list
|
||||||
|
|
|
@ -254,8 +254,10 @@ comparisons are made using @racket[free-transformer-identifier=?]
|
||||||
instead of @racket[free-identifier=?]).
|
instead of @racket[free-identifier=?]).
|
||||||
|
|
||||||
In addition to the grammar above, @racket[letrec-syntaxes+values] can
|
In addition to the grammar above, @racket[letrec-syntaxes+values] can
|
||||||
appear in a fully local-expanded expression, such as the result from
|
appear in a fully local-expanded expression, as can
|
||||||
@racket[local-expand] when the stop list is empty.
|
@racket[#%expression] in any expression position. For example,
|
||||||
|
@racket[letrec-syntaxes+values] and @racket[#%expression] can appear
|
||||||
|
in the result from @racket[local-expand] when the stop list is empty.
|
||||||
|
|
||||||
@;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
@;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
@subsection[#:tag "expand-steps"]{Expansion Steps}
|
@subsection[#:tag "expand-steps"]{Expansion Steps}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user