[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-users] keyword->string and back
From: |
Alain MELLAN |
Subject: |
[Chicken-users] keyword->string and back |
Date: |
Wed, 21 Apr 2004 10:25:31 -0700 |
With (keyword-style #:prefix), I get the following:
(keyword->string :foo) => "foo"
(string->keyword "foo") => :foo
Also, a (format "~A" :foo) gives "foo", while (write :foo) gives :foo.
It seems only (write) ensures the write/read invariant behavior.
I would like to have (format "~A" :foo) => ":foo", and (keyword->string
:foo) => ":foo" (depending on the keyword-style, of course).
Does that make sense?
-- alain.
- [Chicken-users] keyword->string and back,
Alain MELLAN <=