docs: better link for stx template

This commit is contained in:
Stephen Chang 2016-09-26 14:48:30 -04:00
parent 2b6c1964c8
commit 384e4962cd
2 changed files with 7 additions and 4 deletions

View File

@ -1,15 +1,18 @@
#lang racket/base
(provide (all-defined-out))
(require scribble/manual)
(require scribble/manual
(for-label racket/base))
(define tech:stx-pats
(tech #:doc '(lib "syntax/scribblings/syntax.scrbl") "syntax patterns"))
(define tech:stx-pat
(tech #:doc '(lib "syntax/scribblings/syntax.scrbl") "syntax pattern"))
(define tech:stx-templates
(list "syntax " (tech #:doc '(lib "scribblings/guide/guide.scrbl") "templates")))
(list (racket syntax) " "
(tech #:doc '(lib "scribblings/guide/guide.scrbl") "templates")))
(define tech:stx-template
(list "syntax " (tech #:doc '(lib "scribblings/guide/guide.scrbl") "template")))
(list (racket syntax) " "
(tech #:doc '(lib "scribblings/guide/guide.scrbl") "template")))
(define tech:templates
(tech #:doc '(lib "scribblings/guide/guide.scrbl") "templates"))
(define tech:template

View File

@ -408,4 +408,4 @@ function, which is needed by conditional forms like @racket[if]. The
@racket[if] definition uses the @racket[current-join] parameter, to
make it reusable by other languages. Observe that the output type in the
@racket[if] definition uses @racket[unquote]. In general, all @tech:stx-template
positions in Turnstile as @racket[quasiquote]s.
positions in Turnstile are @racket[quasisyntax]es.