Newsgroups: comp.lang.lisp
Path: cantaloupe.srv.cs.cmu.edu!das-news2.harvard.edu!cam-news-feed3.bbnplanet.com!news.bbnplanet.com!cam-news-hub1.bbnplanet.com!howland.erols.net!news.sprintlink.net!news-peer.sprintlink.net!server1.nw.ixe.net!server1.adam.ixe.net!wirehub!news.euro.net!xs4all!news.unisource.nl!news.tip.nl!news
From: Olmeda Piero <piero.olmeda@tip.nl>
Subject: Re: list to string etc.
X-Nntp-Posting-Host: hoorn11.pop.tip.nl
Content-Type: text/plain; charset=us-ascii
Message-ID: <329EA1FC.6CC4@tip.nl>
Sender: news@tip.nl (The News User)
Content-Transfer-Encoding: 7bit
Organization: The Internet Plaza
References: <329C9918.46B@tip.nl> <raffael-2811961307260001@macav.tiac.net>
Mime-Version: 1.0
Date: Fri, 29 Nov 1996 08:42:36 GMT
X-Mailer: Mozilla 3.0 (Win95; I)
Lines: 28

Raffael Cavallaro wrote:
> 
> In article <3058171639282920@naggum.no>, Erik Naggum <nobody@naggum.no> wrote:
> 
> >
> > 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
> 
> I think Piero actually wanted a symbol, not a string, so Erik's
> suggestion, as an argument to #'intern would do it:
> 
> (intern (format nil "~{~S~}" <list of symbols>) <&optional package>)
> 
> Raf

I am using now the second option, that is

intern (format nil "~{~S~}" <list of symbols>) <&optional package>)

and it works fine. Thank you very much.
					Piero
