[plt-scheme] define-syntax in define-syntax

From: Jens Axel Søgaard (jensaxel at soegaard.net)
Date: Tue Sep 7 19:18:18 EDT 2004

Jos Koot wrote:

> This is wrong because the outer define-syntax form wants to spline 
> the syntactic

> variable 'x' in the marked lines. Is there a work-around (other than 
> using define-macro

> for the outer form)? Id est, how can I insert an ellipsis in the inner 
> define-syntax form

> without the outer one noticing it? Or is there a reason why I should 
> not want it?
>  

To insert an explicit ellipsis in a syntax-rules macro use the rather 
odd form (... ...) .
I'm not sure whether the (... ...) syntax is supported in v103 though.

-- 
Jens Axel Søgaard





Posted on the users mailing list.