From 462bf4b399906a5cb14b2f298d50ba0e7d04ca96 Mon Sep 17 00:00:00 2001 From: Ryan Culpepper Date: Tue, 30 Sep 2014 22:59:17 -0400 Subject: [PATCH] syntax/parse: fix docs typos and mistakes closes PR 14675, closes PR 14674 --- .../racket-doc/syntax/scribblings/parse/ex-varied.scrbl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/racket-pkgs/racket-doc/syntax/scribblings/parse/ex-varied.scrbl b/pkgs/racket-pkgs/racket-doc/syntax/scribblings/parse/ex-varied.scrbl index 7471888232..2608b74261 100644 --- a/pkgs/racket-pkgs/racket-doc/syntax/scribblings/parse/ex-varied.scrbl +++ b/pkgs/racket-pkgs/racket-doc/syntax/scribblings/parse/ex-varied.scrbl @@ -45,7 +45,7 @@ trivial. @racketblock[ (define-splicing-syntax-class for-clause - #:attribute (norm) + #:attributes (norm) (pattern [var:id seq:expr] #:with norm #'[(var) seq]) (pattern [(var:id ...) seq:expr] @@ -99,8 +99,8 @@ than syntax, use the @racket[#:attr] keyword. ] Be careful! If we had used @racket[#:with] instead of @racket[#:attr], -the @racket[#f] would have been coerced to a syntax object before -being matched against the pattern @racket[default]. +a value produced by the right-hand side would be coerced to a syntax +object before being matched against the pattern @racket[ast]. Attributes with non-syntax values cannot be used in syntax templates. Use the @racket[attribute] form to get the value of an