This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
call to 'first' has too many arguments in latest cvs
- From: Chris Dean <Chris dot Dean at sokitomi dot com>
- To: Kawa List <kawa at sources dot redhat dot com>
- Date: Mon, 14 Apr 2003 22:21:35 -0700
- Subject: call to 'first' has too many arguments in latest cvs
This may be a bit premature, but the latest CVS code fails to compile
(require 'list-lib)
(first '(1 2 3 4))
with the error message:
./module1.scm:16:4: call to 'first' has too many arguments (1; must be 0)
A patch to exercise this is below.
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 15 Apr 2003 05:12:58 -0000
@@ -11,3 +11,7 @@
(syntax-rules ()
((deldup list)
(delete-duplicates list))))
+
+(define (call-to-first x)
+ (first x))
+