Hi,
This is probably a silly question but I'm having major troubles with define-syntax or syntax-rules.
I used to work with the gambit debian packages version 4.0b20 however it seems the necessary files (syntax-case.scm ...) are missing from the package. So I complied and installed 4.0b22. Now I can load the syntax-case.scm file however it seems I can't get a simple syntax definition to work. Even the simple example from the Gambit-C documentation doesn't work.
Gambit Version 4.0 beta 22
(load "~~syntax-case")
"/usr/local/Gambit-C/4.0b22/syntax-case.scm"
(define-syntax unless
(syntax-rules () ((unless test body ...) (if test #f (begin body ...))))) *** ERROR IN (console@3.15 -- Ill-formed expression
Unfortunately i couldn't find information on this problem in the documentation or the archives so i'm kinda stuck now. Any help is appreciated.
Thanks, Gabriel