doc: template metafunctions now work in "syntax" expressions

As noted by @lexi-lambda: https://github.com/racket/racket/issues/2080#issuecomment-389545625
This commit is contained in:
Georges Dupéron 2018-05-17 02:00:02 +02:00
parent 774b02a0b8
commit 328a6530d3

View File

@ -306,8 +306,8 @@ Equivalent to @racket[~?] and @racket[~@], respectively.
(define-template-metafunction (metafunction-id . formals) body ...+)]]{
Defines @racket[metafunction-id] as a @deftech{template
metafunction}. A metafunction application in a @racket[template]
expression (but not a @racket[syntax] expression) is evaluated by
metafunction}. A metafunction application in a @racket[syntax]
or @racket[template] expression is evaluated by
applying the metafunction to the result of processing the ``argument''
part of the template.