[racket] syntax-case and multiple ellipsis

From: Spencer Florence (florence at northwestern.edu)
Date: Tue Jun 17 13:46:11 EDT 2014

Hey all,

I'm trying to write a macro with syntax-case that looks something like this:

 (syntax-case stx (in def)
    [(_ name
        (def a ...) ...
        (in clause do ...) ...)
     stuff])

But, this gives me the error "syntax-case: misplaced ellipsis in pattern
(follows other ellipsis)" on the last ellipsis. Does anyone know a way
around this?

--spencer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20140617/58575589/attachment.html>

Posted on the users mailing list.