From d5fbd47a808a93d33baa0bf4e9d64499dfef9682 Mon Sep 17 00:00:00 2001 From: Alexis King Date: Wed, 3 Oct 2018 10:51:50 -0500 Subject: [PATCH] Fix an issue with the documentation for local-apply-transformer --- .../syntax/scribblings/apply-transformer.scrbl | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/racket-doc/syntax/scribblings/apply-transformer.scrbl b/pkgs/racket-doc/syntax/scribblings/apply-transformer.scrbl index 7fb2100a6e..1fbd26e540 100644 --- a/pkgs/racket-doc/syntax/scribblings/apply-transformer.scrbl +++ b/pkgs/racket-doc/syntax/scribblings/apply-transformer.scrbl @@ -12,10 +12,11 @@ syntax?]{ 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 -@racket[local-expand], where @racket[m] is bound to @racket[transformer], except that expansion is -guaranteed to stop after applying a single macro transformation (assuming @racket[transformer] does -not explicitly force further recursive expansion). +current expansion context. The result is similar to expanding a use of an +@tech[#:doc refman]{identifier} bound as a @tech[#:doc refman]{syntax transformer} bound to +@racket[transformer] with @racket[local-expand], except that expansion is guaranteed to stop after +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 @racket[local-apply-transformer] introduces the appropriate @tech[#:doc refman]{use-site scope} and