On May 1, 2009, at 12:02 PM, Ramana Kumar wrote:

If I add a catch-all pattern to the syntax-case,

You don't want a catch-all pattern.  What you need is

  (lambda (x)
    (syntax-case x ()
      [(_ e) --- same as before ---]
      [id (identifier? #'id)
       --- handle reference to car+ ---]))

Otherwise, (car+) and (car+ e1 e2) would all match the
catch-all case.

Aziz,,,

Reply via email to