Fix an issue with the documentation for local-apply-transformer
This commit is contained in:
parent
adfe862a0b
commit
d5fbd47a80
|
@ -12,10 +12,11 @@
|
||||||
syntax?]{
|
syntax?]{
|
||||||
|
|
||||||
Applies @racket[transformer] as a @tech[#:doc refman]{syntax transformer} to @racket[stx] in the
|
Applies @racket[transformer] as a @tech[#:doc refman]{syntax transformer} to @racket[stx] in the
|
||||||
current expansion context. The result is similar to expanding @racket[(m stx)] with
|
current expansion context. The result is similar to expanding a use of an
|
||||||
@racket[local-expand], where @racket[m] is bound to @racket[transformer], except that expansion is
|
@tech[#:doc refman]{identifier} bound as a @tech[#:doc refman]{syntax transformer} bound to
|
||||||
guaranteed to stop after applying a single macro transformation (assuming @racket[transformer] does
|
@racket[transformer] with @racket[local-expand], except that expansion is guaranteed to stop after
|
||||||
not explicitly force further recursive expansion).
|
applying a single macro transformation (assuming @racket[transformer] does not explicitly force
|
||||||
|
further recursive expansion).
|
||||||
|
|
||||||
Unlike simply applying @racket[transformer] to @racket[stx] directly, using
|
Unlike simply applying @racket[transformer] to @racket[stx] directly, using
|
||||||
@racket[local-apply-transformer] introduces the appropriate @tech[#:doc refman]{use-site scope} and
|
@racket[local-apply-transformer] introduces the appropriate @tech[#:doc refman]{use-site scope} and
|
||||||
|
|
Loading…
Reference in New Issue
Block a user