The inner ellipses need to be "escaped". I like using the dot notation
in nested macros but I know others do not like that style.

(define-syntax (test stx)
  (syntax-case stx ()
    ((_ n e ...)

     #'(define-syntax (n stx)
         (syntax-case stx ()
           ((_ e0 (... ...))
            #'(n (e ...) e0 (... ...))
            ))))))

On Wed, Mar 15, 2017 at 12:33 PM, Dan Liebgold
<dan_liebg...@naughtydog.com> wrote:
> Here's what works, not using the inner ellipses:
>
> http://pasterack.org/pastes/34338
>
> But I'd prefer to use the ellipses......
>
> --
> 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.

-- 
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