Probably a silly question but I can't figure out how to get this working.

I want to have a syntax class that I can pass arguments into. So,

(define-syntax-class (my-syn-class argument)
  ...
)

(syntax-parse #'some-syntax
  [(_ x:*????*)])


In place of *????* what do I write to pass the argument into my syntax class?
I tried 

(syntax-parse #'some-syntax
  [(_ x:(my-id *my-argument*)])

but this doesn't appear to work.

Thanks in advance!

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to