From 328a6530d3d9679b5cdb3fbac772cc8cc8b29cad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Georges=20Dup=C3=A9ron?= <georges.duperon@gmail.com> Date: Thu, 17 May 2018 02:00:02 +0200 Subject: [PATCH] doc: template metafunctions now work in "syntax" expressions As noted by @lexi-lambda: https://github.com/racket/racket/issues/2080#issuecomment-389545625 --- pkgs/racket-doc/syntax/scribblings/parse/experimental.scrbl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/racket-doc/syntax/scribblings/parse/experimental.scrbl b/pkgs/racket-doc/syntax/scribblings/parse/experimental.scrbl index 86b9c14ed3..a883b5eefe 100644 --- a/pkgs/racket-doc/syntax/scribblings/parse/experimental.scrbl +++ b/pkgs/racket-doc/syntax/scribblings/parse/experimental.scrbl @@ -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.