chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] A few questions...


From: felix winkelmann
Subject: Re: [Chicken-users] A few questions...
Date: Mon, 22 Aug 2005 08:59:31 +0200

On 8/20/05, Michael Benfield <address@hidden> wrote:
> On Aug 19, 2005, at 10:41 AM, Michele Simionato wrote:
> 
> >  (BTW, I discovered a subtility:
> > if you define a macro which name ends with ":" you get a syntax error;
> 
> I just discovered this:
> 
>  > (symbol->string 'abc:)
> "abc"
> 
> Perhaps that is the reason for the error you discovered. I suppose this
> is a bug - I just checked with 2 other Schemes and they don't do this.

Well, it's not really a bug. In Chicken keywords are not disjoint from symbols,
and the ":" doesn't belong to the actual print-name of the symbol.
So, Gauche, for example gives "abc" for (keyword->string :abc).


cheers,
felix




reply via email to

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