On Wed, 16 Sep 2009, Tomas Hlavaty wrote:
Hi Henrik and TC,
I just realized that there is an ambiguity here since I can't seem to
accomplish a pair looking like this:
("key" . (1 2 3)), no matter how I try I get: ("key" (1 2 3)), if the
Heh, I think the problem is quite obvious when looking to the list as what
it really is: a chain of cons.
("key" (1 2 3)) -> ("key" . ((1 . (2 . (3 . NIL)))))
that's equivalent to:
("key" . (1 2 3)) => ("key" (1 2 3))
Brain farts happen...
("key" . ((1 2 3))) => ("key" (1 2 3)) <-- This is what I tried to say.
well, picolisp says that:
: '("key" . (1 2 3))
-> ("key" 1 2 3)
:
I know, I knew this since I sent that email, but since it was only to show
_why_ the (Sym . list) was not going to work, it wasn't worth it to send
another email fixing this.
In any case I can't think of a situation where I would have a
string with quotes in it.
That seems to me like a serious flaw:-(
Regards,
Tomas
--
UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe
--
UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe