Typo in syntax-class documentation?

Tim Brown <[email protected]>
Newsgroups gmane.comp.lang.racket.user,gmane.lisp.scheme.plt
Message-ID <[email protected]>
I found this in the documentation for syntax-class (Link to this section with
 @secref["stxparse-attrs" #:doc '(lib "syntax/scribblings/syntax.scrbl")]):
------------
Consider the following code:

    (define-syntax-class quark
      (pattern (a b ...)))
    (syntax-parse some-term
      [(x (y:quark ...) ... z:quark)
       some-code])

The syntax class quark exports two attributes: a at depth 0 and b at depth 1. The syntax-parse pattern has three pattern variables: x at depth 0, y at depth 2, and z at depth 0. Since x and y are annotated with the quark syntax class, the pattern also binds the following nested attributes: y.a at depth 2, y.b at depth 3, z.a at depth 0, and z.b at depth 1.
---------------

Should it be “Since y and z are annotated with the quark syntax class”? Or am I misunderstanding something?

Tim
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

-- 
You received this message because you are subscribed to the Google Groups "Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
For more options, visit https://groups.google.com/d/optout.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.