From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.devel Subject: rfi: immutable strings Date: Fri, 07 Jan 2011 08:57:55 -0800 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1294419207 30497 80.91.229.12 (7 Jan 2011 16:53:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 7 Jan 2011 16:53:27 +0000 (UTC) To: guile-devel Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Jan 07 17:53:22 2011 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PbFZ3-0007HO-AB for guile-devel@m.gmane.org; Fri, 07 Jan 2011 17:53:21 +0100 Original-Received: from localhost ([127.0.0.1]:51972 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PbFZ2-0003Ea-Sc for guile-devel@m.gmane.org; Fri, 07 Jan 2011 11:53:20 -0500 Original-Received: from [140.186.70.92] (port=38373 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PbFYv-0003Dy-Vx for guile-devel@gnu.org; Fri, 07 Jan 2011 11:53:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PbFYu-0000Q8-Bw for guile-devel@gnu.org; Fri, 07 Jan 2011 11:53:13 -0500 Original-Received: from a-pb-sasl-sd.pobox.com ([64.74.157.62]:38691 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PbFYu-0000Q0-8C for guile-devel@gnu.org; Fri, 07 Jan 2011 11:53:12 -0500 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id C085B3D94 for ; Fri, 7 Jan 2011 11:53:50 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to :subject:date:message-id:mime-version:content-type; s=sasl; bh=+ DNMMGYeo7CYqzGGaEb/8MD6RAA=; b=wKP1GDET1fMq0SffB8m7wMhRQ+ooLrmXw wTR4xeuCnIE1PkGTJbD9UH3xneCzjMpFwr0wl5eGU/OHodMWs1S09K49aZIkLJqC PYx9VeRSxZRY5hCVHuUvqof+5Sk/1WHZi6fPJpjRNKjUYXCFj+nEXZUZOOLONUkG 6BxsKUrm7M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:subject :date:message-id:mime-version:content-type; q=dns; s=sasl; b=Pgs HyFuEIcaEEQwnXPrFLyP0Y+DRz47wHpGvqpwGVi4QSfPO/faXfwZFv8Jpe5mBY5T GE2mGD/dPfWcEi1pGXywASHDtyKYdBFgai0CY/Dp4C4ZBU3tsyHrni+ubuUimmYz 3x38egdxy2TD0m1Dvxh/61/2dR96C9l6OevTdrzU= Original-Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id BD8B53D93 for ; Fri, 7 Jan 2011 11:53:50 -0500 (EST) Original-Received: from unquote.localdomain (unknown [75.16.56.32]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id 65DF83D91 for ; Fri, 7 Jan 2011 11:53:50 -0500 (EST) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Pobox-Relay-ID: B3E3B632-1A7E-11E0-A3E1-CBB45B885003-02397024!a-pb-sasl-sd.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:11300 Archived-At: Hello, Guile needs immutable strings. String literals should be immutable, so that its characters can come directly from objcode. Also, the result of (symbol->string 'foo) should be immutable; currently symbol->string conses up a new shared substring every time. In practice this means a flag on the stringbuf. Takers? :) Andy -- http://wingolog.org/