This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
Re: call to 'first' has too many arguments in latest cvs
- From: Chris Dean <Chris dot Dean at sokitomi dot com>
- To: Per Bothner <per at bothner dot com>
- Cc: Kawa List <kawa at sources dot redhat dot com>
- Date: Mon, 21 Apr 2003 11:22:42 -0700
- Subject: Re: call to 'first' has too many arguments in latest cvs
- References: <15662.1050384095@mercedsystems.com> <3EA04775.9020500@bothner.com>
> > (first '(1 2 3 4))
>
> This should now work.
It works interactively, but doesn't work for me when compiling. For
example, when the patch below is applied to module1.scm the testsuite
fails.
Regards,
Chris Dean
Index: module1.scm
===================================================================
RCS file: /cvs/kawa/kawa/testsuite/module1.scm,v
retrieving revision 1.6
diff -u -r1.6 module1.scm
--- module1.scm 3 Mar 2003 03:00:09 -0000 1.6
+++ module1.scm 21 Apr 2003 18:19:05 -0000
@@ -11,3 +11,6 @@
(syntax-rules ()
((deldup list)
(delete-duplicates list))))
+
+(define (call-to-first x)
+ (first x))