From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?iso-8859-1?Q?Court=E8s?=) Newsgroups: gmane.lisp.guile.devel Subject: Re: The empty string and other empty strings Date: Tue, 10 Jan 2012 17:34:04 +0100 Message-ID: <87mx9vzfcz.fsf@gnu.org> References: <4F027F35.5020001@gmail.com> <1325603029.22166.YahooMailNeo@web37906.mail.mud.yahoo.com> <4F032C41.3070300@gmail.com> <87mxa4ifux.fsf@gnu.org> <4F038BF4.1070200@gnu.org> <87obujzmmc.fsf@Kagami.home> <4F048972.5040803@gnu.org> <87lipnm8yx.fsf@Kagami.home> <4F04D01D.5050801@gnu.org> <8762grf28k.fsf@netris.org> <4F05DC47.1000202@gnu.org> <878vlldb4k.fsf@netris.org> <1325811764.22562.YahooMailNeo@web37903.mail.mud.yahoo.com> <87wr95bo9y.fsf@netris.org> <1325857075.77324.YahooMailNeo@web37903.mail.mud.yahoo.com> <877h14bsx0.fsf@netris.org> <4F07747A.4080202@gnu.org> <87sjjsa0kh.fsf@netris.org> <87boqfa8cd.fsf@netris.org> <874nw353a4.fsf_-_@gnu.org> <8739bnagkr.fsf@netris.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1326213262 1892 80.91.229.12 (10 Jan 2012 16:34:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 10 Jan 2012 16:34:22 +0000 (UTC) Cc: guile-devel@gnu.org To: Mark H Weaver Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Jan 10 17:34:17 2012 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RkeeO-0008VA-4J for guile-devel@m.gmane.org; Tue, 10 Jan 2012 17:34:16 +0100 Original-Received: from localhost ([::1]:43710 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkeeN-0007MM-Kx for guile-devel@m.gmane.org; Tue, 10 Jan 2012 11:34:15 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:51966) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkeeI-0007MC-4i for guile-devel@gnu.org; Tue, 10 Jan 2012 11:34:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RkeeD-00009D-U7 for guile-devel@gnu.org; Tue, 10 Jan 2012 11:34:10 -0500 Original-Received: from mail4-relais-sop.national.inria.fr ([192.134.164.105]:46493) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkeeD-000078-Mb for guile-devel@gnu.org; Tue, 10 Jan 2012 11:34:05 -0500 X-IronPort-AV: E=Sophos;i="4.71,487,1320620400"; d="scan'208";a="126288384" Original-Received: from unknown (HELO pluto) ([193.50.110.208]) by mail4-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES128-SHA; 10 Jan 2012 17:34:04 +0100 X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 21 =?iso-8859-1?Q?Niv=F4se?= an 220 de la =?iso-8859-1?Q?R=E9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu In-Reply-To: <8739bnagkr.fsf@netris.org> (Mark H. Weaver's message of "Tue, 10 Jan 2012 07:27:00 -0500") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 192.134.164.105 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:13470 Archived-At: Hello Mark, Mark H Weaver skribis: > ludo@gnu.org (Ludovic Court=C3=A8s) writes: >> Anyway, it seems that before, you couldn=E2=80=99t get any encoding erro= r for >> scm_from_stringn ("", "SOME-ENCODING"), whereas now you can. > > Good point. I just committed a change to avoid this. Cool, thanks for the instant reply and fix! And thanks to Mike and you for the remainder of the discussion and optimizations. BTW, I just noticed that R5RS uses the phrase =E2=80=9Cempty strings=E2=80= =9D (plural) in the description of =E2=80=98eq?=E2=80=99, which means we=E2=80=99re inde= ed on the right track. Thanks, Ludo=E2=80=99.