chicken-users
[Top][All Lists]
Advanced

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

[Chicken-users] [1.89] The symbol .


From: Nicolas Pelletier
Subject: [Chicken-users] [1.89] The symbol .
Date: 25 Apr 2005 15:25:26 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Hello,

I would like to represent "the symbol .". This works fine:

#;1> (list 'a (string->symbol ".") 'b)
(a |.| b)

But this does not:

#;2> (list 'a '|.| 'b)
Error: invalid use of '.'
#;2> b
#;3> (a)

I expected the same behaviour as with "the symbol )":

#;4> (list 'a (string->symbol ")") 'b)
(a |\)| b)
#;5> (list 'a '|\)| 'b)
(a |\)| b)

Is there a way to input the dot as a symbol literal ?

-- 
Nicolas




reply via email to

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