[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] chicken does not compile anymore
From: |
Peter Bex |
Subject: |
Re: [Chicken-users] chicken does not compile anymore |
Date: |
Sun, 1 Feb 2009 16:17:48 +0100 |
User-agent: |
Mutt/1.4.2.3i |
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
pgpI53Lr_D5Aq.pgp
Description: PGP signature