From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Matthias Koeppe Newsgroups: gmane.lisp.guile.devel Subject: Re: Bug in eval-string? Date: Fri, 09 Aug 2002 11:06:34 +0200 Sender: guile-devel-admin@gnu.org Message-ID: References: <20020808125641.GA23831@www> <878z3hukoz.fsf@zagadka.ping.de> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1028884002 29717 127.0.0.1 (9 Aug 2002 09:06:42 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 9 Aug 2002 09:06:42 +0000 (UTC) Cc: rm@fabula.de, guile-devel@gnu.org Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17d5jE-0007jC-00 for ; Fri, 09 Aug 2002 11:06:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17d5je-0007UZ-00; Fri, 09 Aug 2002 05:07:06 -0400 Original-Received: from saturn.math.uni-magdeburg.de ([141.44.75.38]) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17d5jD-0007Pt-00 for ; Fri, 09 Aug 2002 05:06:40 -0400 Original-Received: from beta.math.uni-magdeburg.de (beta [141.44.75.78]) by saturn.math.uni-magdeburg.de (8.11.6/8.11.6) with ESMTP id g7996ZX07780; Fri, 9 Aug 2002 11:06:35 +0200 (MET DST) Original-Received: (from mkoeppe@localhost) by beta.math.uni-magdeburg.de (8.10.2+Sun/8.10.2) id g7996Yi00416; Fri, 9 Aug 2002 11:06:34 +0200 (MEST) X-Authentication-Warning: beta.math.uni-magdeburg.de: mkoeppe set sender to mkoeppe@mail.math.uni-magdeburg.de using -f Original-To: Marius Vollmer In-Reply-To: <878z3hukoz.fsf@zagadka.ping.de> (Marius Vollmer's message of "08 Aug 2002 23:03:56 +0200") Original-Lines: 25 User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1.80 (sparc-sun-solaris2.7) Errors-To: guile-devel-admin@gnu.org X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Developers list for Guile, the GNU extensibility library List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.lisp.guile.devel:1040 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:1040 Marius Vollmer writes: > What about adding "with" as a general dynamic scoping construct? > > (with ((current-module) boxx) > ...) Please don't. AFAIK, dynamic-scoping hacks of this flavor are commonly known as FLUID-LET in Scheme: - Syntax: fluid-let `(BINDINGS ...)' FORMS... (fluid-let ((VARIABLE INIT) ...) EXPRESSION EXPRESSION ...) An implementation can be found in SLIB. Due to Guile's generalized set!, FLUID-LET also carries over to places like (CURRENT-MODULE) instead of VARIABLE, if CURRENT-MODULE is a procedure-with-setter. Regards, --=20 Matthias K=F6ppe -- http://www.math.uni-magdeburg.de/~mkoeppe _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel