[plt-scheme] misplaced ellipses

From: David Van Horn (dvanhorn at cs.brandeis.edu)
Date: Tue Feb 26 13:48:45 EST 2008

(define-syntax f
   (syntax-rules ()
     [(f id)
      (syntax (... id))]))

(f ...)
;; expect (syntax (... ...)),
;; ie., the identifier `...'.


I get instead:

syntax: misplaced ellipses in template in: ...

Why is this the case?  Or is this a bug?

David



Posted on the users mailing list.