On 8/20/05, Michael Benfield <[EMAIL PROTECTED]> 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


_______________________________________________
Chicken-users mailing list
[EMAIL PROTECTED]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to