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
_________________________________________________
 For list-related administrative tasks:
 http://lists.racket-lang.org/listinfo/dev

Reply via email to