From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.lisp.guile.devel Subject: Re: Internal visibility Date: Tue, 10 Jun 2008 10:04:14 +0200 Message-ID: <87d4mpsold.fsf@ambire.localdomain> References: <87k5i5d6ei.fsf@ossau.uklinux.net> <87lk2jhp0h.fsf@gnu.org> <87skwrce8y.fsf@ossau.uklinux.net> <87iqxledzz.fsf@gnu.org> <87lk2futg0.fsf@ossau.uklinux.net> <87fxslr1jr.fsf_-_@gnu.org> <878wxv5t7q.fsf@gnu.org> <87mym6dv6t.fsf@gnu.org> <49dd78620806091110v7a667787mef392fbf4446139d@mail.gmail.com> <87iqwhn3jw.fsf@gnu.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: ger.gmane.org 1213085298 25791 80.91.229.12 (10 Jun 2008 08:08:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 10 Jun 2008 08:08:18 +0000 (UTC) Cc: guile-devel@gnu.org To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Jun 10 10:09:01 2008 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.50) id 1K5yu8-0003xk-7t for guile-devel@m.gmane.org; Tue, 10 Jun 2008 10:08:32 +0200 Original-Received: from localhost ([127.0.0.1]:35400 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K5ytK-0001Md-Oz for guile-devel@m.gmane.org; Tue, 10 Jun 2008 04:07:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K5yt8-0001AV-0P for guile-devel@gnu.org; Tue, 10 Jun 2008 04:07:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K5yt6-00018u-I9 for guile-devel@gnu.org; Tue, 10 Jun 2008 04:07:29 -0400 Original-Received: from [199.232.76.173] (port=41568 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K5yt5-00018R-V2 for guile-devel@gnu.org; Tue, 10 Jun 2008 04:07:28 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:35051) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K5yt2-0000gM-E5; Tue, 10 Jun 2008 04:07:24 -0400 Original-Received: from [151.61.142.118] (helo=ambire.localdomain) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K5yt0-0004Vj-5c; Tue, 10 Jun 2008 04:07:23 -0400 Original-Received: from ttn by ambire.localdomain with local (Exim 4.63) (envelope-from ) id 1K5ypz-0001ru-8v; Tue, 10 Jun 2008 10:04:15 +0200 In-Reply-To: <87iqwhn3jw.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Tue, 10 Jun 2008 09:37:39 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by mx20.gnu.org: Genre and OS details not recognized. X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:7314 Archived-At: () ludo@gnu.org (Ludovic Court=C3=A8s) () Tue, 10 Jun 2008 09:37:39 +0200 Instead, applications should be written against an encoding-oblivious API. This is what core R5RS constructs and SRFI-1[34] provide at the Scheme level. Unfortunately, that position doesn't provide a clean path towards an encoding-knowledgable API. Better would be to design an encoding-knowledgable API now (or as soon as possible), with the encoding value `unencoded' (or `8-bit-raw' or what-have-you) as default. This way, things are explicit and the (future) changes to application code will be less invasive, or even unnecessary. In short, the current API is not actually "future proof" (yet). Requiring obliviousness in the API makes for ugly work long term. thi