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]

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))
+


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