diff --git a/index.rkt b/index.rkt index 2060e6d..1dd0502 100644 --- a/index.rkt +++ b/index.rkt @@ -213,7 +213,7 @@ which is @tt{#'}: (quoted-foo) ] -We'll use the #' shorthand from now on. +We'll use the @tt{#'} shorthand from now on. Of course, we can emit syntax that is more interesting than a string literal. How about returning @racket[(displayln "hi")]? @@ -720,7 +720,7 @@ work it out. The "template" the error message refers to is the In fact, @racket[syntax-case] can have as many templates as you want. The obvious, required template is the final expression supplying -the output syntax. But you can use @racket[syntax] (a.k.a. #') on a +the output syntax. But you can use @racket[syntax] (a.k.a. @tt{#'}) on a pattern variable. This makes another template, albeit a small, "fun size" template. Let's try that: