From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Matthias Koeppe Newsgroups: gmane.lisp.guile.user Subject: Re: fluids for dynamic scoping Date: Wed, 09 Apr 2003 11:36:37 +0200 Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Message-ID: References: <16019.33763.611815.578236@shmyh.ua> 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: main.gmane.org 1049881161 29278 80.91.224.249 (9 Apr 2003 09:39:21 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 9 Apr 2003 09:39:21 +0000 (UTC) Cc: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Wed Apr 09 11:39:19 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 193C35-0007c3-00 for ; Wed, 09 Apr 2003 11:39:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 193C2D-00036O-04 for guile-user@m.gmane.org; Wed, 09 Apr 2003 05:38:25 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 193C1A-00022I-00 for guile-user@gnu.org; Wed, 09 Apr 2003 05:37:20 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 193C0y-0001lB-00 for guile-user@gnu.org; Wed, 09 Apr 2003 05:37:09 -0400 Original-Received: from merkur.math.uni-magdeburg.de ([141.44.75.40]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 193C0d-0001PK-00 for guile-user@gnu.org; Wed, 09 Apr 2003 05:36:47 -0400 Original-Received: from beta ([141.44.75.78] helo=beta.math.uni-magdeburg.de) by merkur.math.uni-magdeburg.de with esmtp (Exim 4.10) id 193C0X-0005ie-00; Wed, 09 Apr 2003 11:36:41 +0200 Original-Received: (from mkoeppe@localhost) by beta.math.uni-magdeburg.de (8.10.2+Sun/8.10.2) id h399abi19967; Wed, 9 Apr 2003 11:36:37 +0200 (MEST) X-Authentication-Warning: beta.math.uni-magdeburg.de: mkoeppe set sender to mkoeppe@mail.math.uni-magdeburg.de using -f Original-To: Viktor Pavlenko In-Reply-To: <16019.33763.611815.578236@shmyh.ua> (Viktor Pavlenko's message of "Tue, 8 Apr 2003 22:22:27 -0400") Original-Lines: 18 User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.3.50 (sparc-sun-solaris2.8) X-Warning: no 'abuse'-account in domain mail.math.uni-magdeburg.de (cf. RFC2142/4.) X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: General Guile related discussions List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.user:1781 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:1781 Viktor Pavlenko writes: > I intend to use with-fluids to simplify a data structure creation (see > below). However, after reading some discussions in the mailing list > archives regarding inherent "incorrectness" of fluid-let, I now have > doubts if the following code is OK. Is there any way to achieve similar > behavior without fluids? The use of fluids in your code (MAKE-FLUID, FLUID-REF, WITH-FLUIDS) is perfectly fine.=20=20 There has been discussion in the mailing list regarding FLUID-LET, which (despite its name) has nothing to do with fluids (and which you didn't use). FLUID-LET tries to simulate dynamic scoping using DYNAMIC-WIND and SET!, which fails in a multi-threaded environment. --=20 Matthias K=F6ppe -- http://www.math.uni-magdeburg.de/~mkoeppe _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user