match macro problem

Gary Baumgartner <[email protected]>
Newsgroups gmane.lisp.scheme.scsh
Message-ID <[email protected]>
I'm having trouble with a macro that expands into a use of
 match from Andrew Wright's match-s48.scm:

A very simple example of the problem:

  > (define-syntax m
      (syntax-rules ()
        ((_) (match 1 (x 2)))))
  > (m)

  Error: syntax error in pattern
         #{Generated x 1455}

Since match is not implemented with define-syntax and syntax-rules,
 I assume I'm running into a problem mixing the two styles.

Gary Baumgartner
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.