Further investigation shows that (according to the manual) Chicken 4 supports the superior method of srfi 46 (an extra parameter to syntax-rules which binds an identifier as the "ellipsis" identifier.
Which led me to the second part of srfi 46, which allows parameters that live *after* an ellipsis, so you can have a pattern with something like (this that ... last) and then (a b c d) matches this->a, (that ...) -> (b c) and last->d. Any hope of that making it in? Is it just awaiting code to implement it? Thomas On Wed, 2009-11-11 at 11:29 -0500, John Cowan wrote: > Thomas Bushnell BSG scripsit: > > > In one sense, this is good news! > > The two main pieces of good news in Chicken 4 are built-in macros and > built-in modules. > > > A question: does the builtin syntax-rules accept the (... ...) syntax > > that Dybvig's system does? My code has some macros that expand to macro > > definitions, the canonical case where nested ... is often necessary. > > I doubt it, but _solvitur ambulando_. > _______________________________________________ Chicken-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/chicken-users
