Subject: Re: list to string etc.
From: Erik Naggum <nobody@naggum.no>
Date: 1996/11/28
Newsgroups: comp.lang.lisp
Message-ID: <3058171639282920@naggum.no>


* Olmeda Piero
| I have read the examples of "string to list" procedures and after I have
| found a working procedure for transforming strings to lists. But how can
| I write a procedure with this result (I call it "compress" because this
| is the name in the Lisp I was using before, Cambridge Lisp)?
| >(compress '(a b c d))
| >abcd
| I absolutely need this procedure because (I think) it is not possible to
| use (or at least would it be difficult) lists as property names. I need
| to convert parts of lists into property names.

I think your outlined algorithms look suspicious, but here goes

    (format nil "~{~S~}" <list of symbols>)

another variety is

    (apply #'concatenate 'string (mapcar #'symbol-name <list of symbols>))

#\Erik
-- 
Please address private replies, only, to "erik".  Junk mail, spam,
stupid flames, courtesy copies, etc, should be sent to "nobody".