[Top][All Lists]
[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
- Re: [Chicken-users] A few questions..., (continued)
- Re: [Chicken-users] A few questions..., John.Cowan, 2005/08/17
- Re: [Chicken-users] A few questions..., Daniel B. Faken, 2005/08/18
- Re: [Chicken-users] A few questions..., Ashley Bone, 2005/08/19
- Re: [Chicken-users] A few questions..., Michele Simionato, 2005/08/19
- Re: [Chicken-users] A few questions..., Benedikt Rosenau, 2005/08/25