This is the mail archive of the kawa@sources.redhat.com mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]