From 63026daba381447d4fb8d4c4d0b9be82fccd5050 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Georges=20Dup=C3=A9ron?= Date: Sat, 6 May 2017 13:55:25 +0200 Subject: [PATCH] Circumvent overzealous use of reader abbreviations by scribble for the documentation of #,, and #,@, and #,,@ --- scribblings/subtemplate.scrbl | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/scribblings/subtemplate.scrbl b/scribblings/subtemplate.scrbl index 194b3e3..e808507 100644 --- a/scribblings/subtemplate.scrbl +++ b/scribblings/subtemplate.scrbl @@ -112,11 +112,12 @@ with @racketmodname[syntax/parse] and @|orig:syntax-case|. @RACKET[(subtemplate (#,(+ x 1) ...))], for example. The usual behaviour, which resets the ellipsis count to 0, can be obtained - with @RACKET[#,,expr] (that is, @RACKET[(unsyntax (unquote expr))]) for an - @racket[unsyntax]-like escape. An @racket[unsyntax-splicing]-style escape - can be obtained with @RACKET[#,,@expr] or @RACKET[#,@,expr] (that is, - @RACKET[(unsyntax (unquote-splicing expr))] or - @RACKET[(unsyntax-splicing (unquote expr))]).} + with @RACKET[#,,expr] (that is, + @racket[(#,(racket unsyntax) (#,(racket unquote) expr))]) for an + @racket[unsyntax]-like escape. An @racket[unsyntax-splicing]-style escape can + be obtained with @RACKET[#,,@expr] or @RACKET[#,@,expr] (that is, + @racket[(#,(racket unsyntax) (#,(racket unquote-splicing) expr))] or + @racket[(#,(racket unsyntax-splicing) (#,(racket unquote) expr))]).} @item{Several utilities in the spirit of @racket[??] and @racket[?@] are provided, namely @racket[?@@], @racket[?attr] @racket[?cond] and @racket[?if].}