From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Neil Jerram Newsgroups: gmane.lisp.guile.user Subject: Re: A variable that holds a string which may be the name of a variable. Date: Thu, 03 Dec 2009 18:56:18 +0000 Message-ID: <87ljhjq431.fsf@ossau.uklinux.net> References: <1259781727.3060.16.camel@debianrts.home> <87skbt81df.fsf@ossau.uklinux.net> <3ae3aa420912030923l146d7d07j9a838fc90fae491e@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1259866605 32414 80.91.229.12 (3 Dec 2009 18:56:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Dec 2009 18:56:45 +0000 (UTC) Cc: guile-user@gnu.org, richard.shann@virgin.net To: linasvepstas@gmail.com Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Dec 03 19:56:38 2009 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NGGqw-00075V-FB for guile-user@m.gmane.org; Thu, 03 Dec 2009 19:56:34 +0100 Original-Received: from localhost ([127.0.0.1]:40168 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NGGqv-0006TW-Ev for guile-user@m.gmane.org; Thu, 03 Dec 2009 13:56:33 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NGGqr-0006Sx-CM for guile-user@gnu.org; Thu, 03 Dec 2009 13:56:29 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NGGqm-0006Or-OL for guile-user@gnu.org; Thu, 03 Dec 2009 13:56:28 -0500 Original-Received: from [199.232.76.173] (port=41214 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NGGqm-0006Oo-HP for guile-user@gnu.org; Thu, 03 Dec 2009 13:56:24 -0500 Original-Received: from mail3.uklinux.net ([80.84.72.33]:49605) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NGGqm-0007Q4-6D for guile-user@gnu.org; Thu, 03 Dec 2009 13:56:24 -0500 Original-Received: from arudy (host86-145-153-90.range86-145.btcentralplus.com [86.145.153.90]) by mail3.uklinux.net (Postfix) with ESMTP id 8CF8F1F682B; Thu, 3 Dec 2009 18:56:23 +0000 (GMT) Original-Received: from arudy (arudy [127.0.0.1]) by arudy (Postfix) with ESMTP id 4E75E38024; Thu, 3 Dec 2009 18:56:19 +0000 (GMT) In-Reply-To: <3ae3aa420912030923l146d7d07j9a838fc90fae491e@mail.gmail.com> (Linas Vepstas's message of "Thu, 3 Dec 2009 11:23:47 -0600") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:7518 Archived-At: Linas Vepstas writes: > 2009/12/2 Neil Jerram : > Neil, > > For my own edification -- is tehre any difference between > >> =A0(let ((sym (with-input-from-string mything read))) > > and > > (let ((sym (string->symbol mything))) In the case where mything is a string consisting of symbol syntax characters, no. Maybe you're then suggesting that Richard could use string->symbol instead - in which case I agree. Using with-input-from-string and read is a bit of overkill; I forgot about string->symbol. Regards, Neil