On Sun, Feb 01, 2009 at 06:09:34AM +0100, J?rg F. Wittenberger wrote: > Hi all, > > I just did a svn up and got a broken chicken compiler: > > Error: bad argument count - received 3 but expected 2: #<procedure > (every pred404 ls405)> > > I guess compiler.scm around line 413 the call to "every" looks > suspicious: > > (define (walk-generic n class params subs) > (let ((subs2 (map walk subs))) > (if (every eq? subs subs2) > n > (make-node class params subs2) ) ) ) > > Just I don't understand what's going on her?
This call is ok, what's wrong is the Chicken you're using to compile it with. This is an old error and can be fixed by going through the bootstrap procedure again. > (every (lambda (s) (memq s subs)) subs2) ?? > > ormap ?? What? Peter -- http://sjamaan.ath.cx -- "The process of preparing programs for a digital computer is especially attractive, not only because it can be economically and scientifically rewarding, but also because it can be an aesthetic experience much like composing poetry or music." -- Donald Knuth
pgpfSgCTxl7Ln.pgp
Description: PGP signature
_______________________________________________ Chicken-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/chicken-users
