On 8/19/05, Alex Shinn alexshinn@gmail.com wrote:
Gambit Version 4.0 beta 14
(load "~~/syntax-case")
"/usr/local/Gambit-C/syntax-case.scm"
(define-macro (foo . o) #f)
*** ERROR -- invalid syntax (foo . o)
From the syntax-case file:
; Since the ; syntax-case expander does not know about Gambit's syntactic ; extensions (like DSSSL parameters, forms like "namespace", ; "define-macro", "define-type", and "c-lambda"), those syntactic ; extensions cannot be used. On the other hand, the syntax-case ; expander defines some new special forms, such as "module", ; "alias", and "eval-when".
So you probably want define-syntax (see R5RS 5.3)
AGL