This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
Problem using #!rest in defmacro
- From: "Are Meisfjord" <are at meisfjord dot com>
- To: kawa at sources dot redhat dot com
- Date: Tue, 10 Dec 2002 23:06:42 +0100
- Subject: Problem using #!rest in defmacro
C:\>java kawa.repl
#|kawa:1|# (defmacro foo (#!rest bar) `(list ,@bar))
#|kawa:2|# (foo 1 2 3)
<stdin>:2:2: no matching case while expanding foo
I am new to Scheme but the corresponding statement in Common Lisp
(using &rest instead of #!rest) works fine. Am I missing something?
Regards,
Are Meisfjord