[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Is string-append broken?
From: |
Marius Vollmer |
Subject: |
Re: Is string-append broken? |
Date: |
Wed, 31 Dec 2003 09:56:17 +0100 |
User-agent: |
Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) |
Bruce Korb <address@hidden> writes:
> Why is this code "wrong"?
>
>> (string-append (c-string (get "name")) ", ")
What does this expression evaluate to? I.e., what is printed when you
type it it the "guile>" prompt?
I get, for example:
guile> (define c-str "\"passwd\"")
guile> c-str
"\"passwd\""
guile> (string-append c-str ", ")
"\"passwd\", "
guile>
which looks correct to me. Maybe 'shellf' is to blame.
--
GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3 331E FAF8 226A D5D4 E405