[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] csc doesn't like functions with :'s, csi doesn't car
From: |
felix winkelmann |
Subject: |
Re: [Chicken-users] csc doesn't like functions with :'s, csi doesn't care |
Date: |
Mon, 4 Apr 2005 23:04:26 +0200 |
On Apr 4, 2005 4:13 PM, Damian M Gryski <address@hidden> wrote:
> On Mon, 04 Apr 2005, felix winkelmann wrote:
>
>
> > I'll change the compiler to issue a warning on keyword assignments,
> > but this will not change the general situation. Is this a serious problem
> > for you?
>
> Not at all -- I was just playing around with some scheme code and
> noted the behaviour difference between csc/csi. It was surprising
> because guile/bigloo/s48 also didn't have any problems with the code,
> so it looked to me like a bug in the chicken compiler.
>
> However, it appears keywords are incompatible with other
> implementations. In this case, I think a warning is adequate to alert
> someone that their code might work differently under the chicken
> compiler. I'm sure if somebody had a large amount of production
> code to switch over, they'd prefer a '-disable-keywords' switch,
> but that person isn't me :)
>
I have changed the compiler to issue a warning and -strict does now
allow redefinition of keyword-symbols (also -r5rs).
(available in the current darcs repository)
cheers,
felix