On Wednesday, March 15, 2017 at 9:36:19 AM UTC-7, Sam Tobin-Hochstadt wrote:
> You need to escape the ... with another ..., like this:
>
That's what I forgot. Is there any other case where things are escaped in this
manner? It's a little surprising...
Thanks,
Dan
--
You received this
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 (... ...))
2 matches
Mail list logo