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: Tony Garnock-Jones
Subject: Re: [Chicken-users] A few questions...
Date: Sat, 20 Aug 2005 13:29:52 +0100
User-agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317)

Michael Benfield wrote:
>> (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.

It's to do with keywords. To disable it,

(keyword-style '#:none)

After that statement, keywords only have syntax '#:keyword. (There are
other possibilities besides "none": "suffix" (the default) and "prefix",
which cause the reader to accept keyword: and :keyword respectively.)

Tony




reply via email to

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