[racket-dev] doc bug - syntax-id-rules

From: David Vanderson (david.vanderson at gmail.com)
Date: Thu Dec 8 21:36:30 EST 2011

I think the docs for syntax-id-rules have 2 lines swapped.  Here's a patch:

diff --git a/collects/scribblings/reference/stx-patterns.scrbl 
b/collects/scribblings/reference/stx-patterns.scrbl
index 83d13bc..209961b 100644
--- a/collects/scribblings/reference/stx-patterns.scrbl
+++ b/collects/scribblings/reference/stx-patterns.scrbl
@@ -459,8 +459,8 @@ corresponding @racket[template].}
  Equivalent to

  @racketblock[
-(lambda (stx)
-  (make-set!-transformer
+(make-set!-transformer
+ (lambda (stx)
     (syntax-case stx (literal-id ...)
       [pattern (syntax-protect (syntax template))] ...)))
  ]}


Thanks,
Dave


Posted on the dev mailing list.