From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Marius Vollmer Newsgroups: gmane.lisp.guile.user Subject: Re: Making the -e option compatible with new versions of Guile 1.4 Date: Mon, 17 Jan 2005 18:10:10 +0100 Message-ID: References: <41E8581C.4050408@ossau.uklinux.net> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1105982794 28860 80.91.229.6 (17 Jan 2005 17:26:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 17 Jan 2005 17:26:34 +0000 (UTC) Cc: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon Jan 17 18:26:21 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 1Cqadx-0001hi-00 for ; Mon, 17 Jan 2005 18:26:21 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Cqapo-0000JL-PS for guile-user@m.gmane.org; Mon, 17 Jan 2005 12:38:36 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Cqan8-0006Q3-9T for guile-user@gnu.org; Mon, 17 Jan 2005 12:35:50 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CqaiR-0005Tq-I8 for guile-user@gnu.org; Mon, 17 Jan 2005 12:31:11 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CqaiQ-0005Qa-2b for guile-user@gnu.org; Mon, 17 Jan 2005 12:30:58 -0500 Original-Received: from [129.217.163.1] (helo=mail.dt.e-technik.uni-dortmund.de) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CqaOL-0003ur-EV for guile-user@gnu.org; Mon, 17 Jan 2005 12:10:13 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by mail.dt.e-technik.uni-dortmund.de (Postfix) with ESMTP id AB06A4CCEA; Mon, 17 Jan 2005 18:10:11 +0100 (CET) Original-Received: from mail.dt.e-technik.uni-dortmund.de ([127.0.0.1]) by localhost (krusty [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 19133-04-6; Mon, 17 Jan 2005 18:10:11 +0100 (CET) Original-Received: from troy.dt.e-technik.uni-dortmund.de (troy.dt.e-technik.uni-dortmund.de [129.217.163.17]) by mail.dt.e-technik.uni-dortmund.de (Postfix) with ESMTP id 23E954CCDC; Mon, 17 Jan 2005 18:10:11 +0100 (CET) Original-Received: by troy.dt.e-technik.uni-dortmund.de (Postfix, from userid 520) id CC238B98E; Mon, 17 Jan 2005 18:10:10 +0100 (CET) Original-To: Neil Jerram In-Reply-To: <41E8581C.4050408@ossau.uklinux.net> (Neil Jerram's message of "Fri, 14 Jan 2005 23:39:08 +0000") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) X-Virus-Scanned: by amavisd-new at dt.e-technik.uni-dortmund.de 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:4097 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:4097 Neil Jerram writes: > [..] 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. Hmm, I don't think we should extend @ or @@ to do this. Lexical variables are different from global ones: they only exist within a given environment and you need to specify that environment when accessing them. @ and @@ can not specify this environment. > 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) Which procedure should this refer to? Every call to xxx creates a new procedure named '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? Hmm, yes, in a debugger, your syntax could refer to all procedures every created. So it could be part of the syntax of the debugger, I don't think it can be part of the syntax of normal Scheme programs. _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user