chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] chicken bug?


From: felix winkelmann
Subject: Re: [Chicken-users] chicken bug?
Date: Thu, 8 Nov 2007 09:09:29 +0100

On Nov 7, 2007 10:49 PM, John Cowan <address@hidden> wrote:
> naruto canada scripsit:
>
> > Hold on, I fix the problem.
> > I get it now, chicken can't handle "begin" as a parameter,
> > it thinks it's a scheme keyword "begin", as a begin block.
>
> I believe that to be a bug.  Here's a test case:
>
> #;1> (define x (lambda (begin) (+ 2 begin)))
> #;2> (x 3)
> Error: call of non-procedure: 3
>

The problem is that the body of the lamdba expands into
a "(begin ...)" form internally, which has been redefined.
Needs to be fixed, but I don't know when I'll get around
doing that.


cheers,
felix




reply via email to

[Prev in Thread] Current Thread [Next in Thread]