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:
parent
774b02a0b8
commit
328a6530d3
|
@ -306,8 +306,8 @@ Equivalent to @racket[~?] and @racket[~@], respectively.
|
||||||
(define-template-metafunction (metafunction-id . formals) body ...+)]]{
|
(define-template-metafunction (metafunction-id . formals) body ...+)]]{
|
||||||
|
|
||||||
Defines @racket[metafunction-id] as a @deftech{template
|
Defines @racket[metafunction-id] as a @deftech{template
|
||||||
metafunction}. A metafunction application in a @racket[template]
|
metafunction}. A metafunction application in a @racket[syntax]
|
||||||
expression (but not a @racket[syntax] expression) is evaluated by
|
or @racket[template] expression is evaluated by
|
||||||
applying the metafunction to the result of processing the ``argument''
|
applying the metafunction to the result of processing the ``argument''
|
||||||
part of the template.
|
part of the template.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user