From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Neil Jerram Newsgroups: gmane.lisp.guile.devel Subject: Re: [PATCH] Per-module reader, take #3 Date: Sat, 17 Dec 2005 10:26:50 +0000 Message-ID: <87psnwhvdh.fsf@ossau.uklinux.net> References: <87u0gp9lm3.fsf@laas.fr> <87u0ffnudk.fsf@laas.fr> <87sluxb0xt.fsf@ossau.uklinux.net> <87r7agvdb1.fsf@laas.fr> <87wtk796xk.fsf@ossau.uklinux.net> <87br1jiacq.fsf@laas.fr> <87d5lp9vv4.fsf@ossau.uklinux.net> <871x258dxd.fsf@zip.com.au> <87zmos8zt4.fsf@ossau.uklinux.net> <87ll0a3hlk.fsf@ossau.uklinux.net> <87pspch28a.fsf_-_@laas.fr> <87zmo4jny6.fsf@ossau.uklinux.net> <87acg0maxs.fsf@zagadka.de> <8764q6kkyv.fsf@ossau.uklinux.net> <87r78p3h8u.fsf@zagadka.de> <87mzj4wkz9.fsf@ossau.uklinux.net> <87d5jzu627.fsf@laas.fr> <87acf3wjvj.fsf@ossau.uklinux.net> <87hd9alo49.fsf@laas.fr> <87d5jyuoqm.fsf@ossau.uklinux.net> <873bkta0ac.fsf@laas.fr> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1134819404 3952 80.91.229.2 (17 Dec 2005 11:36:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 17 Dec 2005 11:36:44 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat Dec 17 12:36:33 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EnaKW-0001TP-Jh for guile-devel@m.gmane.org; Sat, 17 Dec 2005 12:34:25 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EnZsC-0003Nf-UY for guile-devel@m.gmane.org; Sat, 17 Dec 2005 06:05:10 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EnZJS-00051i-Di for guile-devel@gnu.org; Sat, 17 Dec 2005 05:29:14 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EnZJO-00050O-J4 for guile-devel@gnu.org; Sat, 17 Dec 2005 05:29:12 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EnZJN-00050I-OG for guile-devel@gnu.org; Sat, 17 Dec 2005 05:29:09 -0500 Original-Received: from [80.84.72.33] (helo=mail3.uklinux.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EnZLx-0004ST-KQ for guile-devel@gnu.org; Sat, 17 Dec 2005 05:31:49 -0500 Original-Received: from laruns (host86-129-132-201.range86-129.btcentralplus.com [86.129.132.201]) by mail3.uklinux.net (Postfix) with ESMTP id 5205D409FA6 for ; Sat, 17 Dec 2005 10:28:21 +0000 (UTC) Original-Received: from laruns (laruns [127.0.0.1]) by laruns (Postfix) with ESMTP id 27C7E6F719 for ; Sat, 17 Dec 2005 10:26:51 +0000 (GMT) Original-To: guile-devel@gnu.org In-Reply-To: <873bkta0ac.fsf@laas.fr> ( =?iso-8859-1?q?Ludovic_Court=E8s's_message_of?= "Fri, 16 Dec 2005 09:55:39 +0100") User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) 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:5538 Archived-At: ludovic.courtes@laas.fr (Ludovic Court=E8s) writes: > Neil Jerram writes: > >> For `current-reader' I think we should stick as we are. > > Then, should we go ahead and remove the `current-module' and > `set-current-module' procedures in favor of `current-module' as a fluid? > By not exporting the fluid directly, my original patch kept away from > such a highly controversial debate. ;-) :-) If we were starting from a clean slate, then yes, I'd agree. But starting from where we are now, I don't think it's worth changing what already exists. Note BTW that both current-module and current-reader are Guile-specific. For implementing something not Guile-specific, we should also take into account portability of the chosen syntax; but for these cases we don't need to. (Sudden confusion: Are fluids part of R5RS? If so, why do we need the parameters SRFI? I guess I need to go and reread it.) > The "principle of least surprise" _is_ important for people coming to > the language/implementation. Yes, but as ever there are other principles too, in this case back compatibility and simplicity. Neil _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel