This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
Re: list->string with problems?
- From: Marco VEZZOLI <marco dot vezzoli at st dot com>
- To: Christof Lehmann <clehmann at vub dot de>
- Cc: Kawa Mailingliste <kawa at sources dot redhat dot com>
- Date: Wed, 10 Mar 2004 12:02:58 +0100
- Subject: Re: list->string with problems?
- References: <1078916728.24020.44.camel@localhost>
Christof Lehmann wrote:
>
> (list->string '(a b c))
> throws the error
> Argument #2 to 'string-set!' has wrong type
>
> I use Kawa 1.7
>
> Christof
I think you should use
(list->string '(#\a #\b #\c))
with your code you are trying to put a list of symbols into a string
'(a b c) == (list 'a 'b 'c)
--
Marco Vezzoli tel. +39 039 603 6852
STMicroelectronics fax. +39 039 603 5055