From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rob Browning Newsgroups: gmane.lisp.guile.devel Subject: Re: Future of ice-9/slib.scm. Date: Sat, 19 Nov 2005 13:43:03 -0800 Message-ID: <87acg0gvq0.fsf@trouble.defaultvalue.org> References: <878xvpupx0.fsf@trouble.defaultvalue.org> <87psoyhan9.fsf@trouble.defaultvalue.org> <87u0e8afak.fsf@zagadka.de> <87veyoik74.fsf@trouble.defaultvalue.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1132436647 31155 80.91.229.2 (19 Nov 2005 21:44:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 19 Nov 2005 21:44:07 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat Nov 19 22:44:03 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EdaUQ-0000YO-O4 for guile-devel@m.gmane.org; Sat, 19 Nov 2005 22:43:19 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EdaUQ-0000Yy-49 for guile-devel@m.gmane.org; Sat, 19 Nov 2005 16:43:18 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EdaUG-0000Wq-6K for guile-devel@gnu.org; Sat, 19 Nov 2005 16:43:08 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EdaUE-0000Um-2w for guile-devel@gnu.org; Sat, 19 Nov 2005 16:43:07 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EdaUD-0000UM-Oz for guile-devel@gnu.org; Sat, 19 Nov 2005 16:43:05 -0500 Original-Received: from [70.85.129.156] (helo=defaultvalue.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EdaUD-0007wv-UP for guile-devel@gnu.org; Sat, 19 Nov 2005 16:43:06 -0500 Original-Received: from omen.defaultvalue.org (localhost [127.0.0.1]) by defaultvalue.org (Postfix) with ESMTP id 8DD3390D2B for ; Sat, 19 Nov 2005 15:43:08 -0600 (CST) Original-Received: from trouble.defaultvalue.org (omen.defaultvalue.org [192.168.1.1]) by omen.defaultvalue.org (Postfix) with ESMTP id 79E823F4A for ; Sat, 19 Nov 2005 13:43:04 -0800 (PST) Original-Received: by trouble.defaultvalue.org (Postfix, from userid 1000) id 514183C30E2; Sat, 19 Nov 2005 13:43:03 -0800 (PST) Original-To: guile-devel@gnu.org In-Reply-To: <87veyoik74.fsf@trouble.defaultvalue.org> (Rob Browning's message of "Sat, 19 Nov 2005 10:09:03 -0800") User-Agent: Gnus/5.110004 (No Gnus v0.4) 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:5410 Archived-At: Rob Browning writes: > My current intention is to sit down when I have time and see if I can > figure out what changes, if any, we would have to make to the current > guile.init in order to be able to rely on it, rather than the code in > slib.scm. So here's round one. Quite a few items in slib.scm are already in guile.init, and so we can just drop those. There are some other bits that I wanted to present for discussion and double-checking. As background, at the point when any of this code executes, the current module is (ice-9 slib). A minor difference regards output-port-width. The version in slib.scm returns 80 where the version in guile.init returns 79. A more significant question regards evaluation. In slib.scm we have: (define-public slib:eval (lambda (x) (eval x slib-module))) (define defmacro:eval (lambda (x) (eval x (interaction-environment)))) where guile.init has: ;;; SLIB:EVAL is single argument eval using the top-level (user) environment. (define slib:eval (if (string