From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Neil Jerram Newsgroups: gmane.lisp.guile.user Subject: Re: Making the -e option compatible with new versions of Guile 1.4 Date: Fri, 14 Jan 2005 23:39:08 +0000 Message-ID: <41E8581C.4050408@ossau.uklinux.net> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1105746132 16424 80.91.229.6 (14 Jan 2005 23:42:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 14 Jan 2005 23:42:12 +0000 (UTC) Cc: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sat Jan 15 00:41:54 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Cpb4j-00017r-00 for ; Sat, 15 Jan 2005 00:41:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CpbGS-0006fQ-JG for guile-user@m.gmane.org; Fri, 14 Jan 2005 18:54:00 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CpbGE-0006c9-6s for guile-user@gnu.org; Fri, 14 Jan 2005 18:53:46 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CpbGB-0006am-KV for guile-user@gnu.org; Fri, 14 Jan 2005 18:53:43 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CpbGB-0006a3-B9 for guile-user@gnu.org; Fri, 14 Jan 2005 18:53:43 -0500 Original-Received: from [80.84.72.33] (helo=mail3.uklinux.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Cpb2y-0003hJ-4r for guile-user@gnu.org; Fri, 14 Jan 2005 18:40:04 -0500 Original-Received: from laruns (host81-130-108-27.in-addr.btopenworld.com [81.130.108.27]) by mail3.uklinux.net (Postfix) with ESMTP id 9A7AF409FA8; Fri, 14 Jan 2005 23:40:02 +0000 (UTC) Original-Received: from [127.0.0.1] (laruns [127.0.0.1]) by laruns (Postfix) with ESMTP id E47EA6F704; Fri, 14 Jan 2005 23:39:08 +0000 (GMT) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041007 Debian/1.7.3-5 X-Accept-Language: en Original-To: Marius Vollmer In-Reply-To: X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.user:4076 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:4076 Marius Vollmer wrote: > Hi, > > For 1.7, I have made Guile's interpretation of the -e option > compatible with the behavior of ttn's Guile 1.4 series. When this > works out, I want to also install this in the 1.6 series. > > What do you all think? Looks good. Also reminds me of an extension to @ or @@ that I was going to ask about. Namely, so as to allow lookups within the environment of a closure. So, for example, with (define (xxx . args) (define (internal-proc x y z) ...) ...) one could reference the procedure for "internal-proc" as (@@ (MODULE NAME) xxx internal-proc) Probably only useful for debugging - i.e. it would make it possible to set a breakpoint on internal-proc - and other kinds of introspection, but what do you think? (I also realize that what I've suggested doesn't really fit @/@@, because @/@@ currently return variables, and internal-proc in this case only exists as an ILOC. But perhaps you can see a way round this?) Regards, Neil _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user