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] |
Are Meisfjord wrote:
When using lambda in scheme, you can pick up the 'rest arguments' with the tail of a dotted list.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?
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |