[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug in eval-string?
From: |
Matthias Koeppe |
Subject: |
Re: Bug in eval-string? |
Date: |
Fri, 09 Aug 2002 11:06:34 +0200 |
User-agent: |
Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1.80 (sparc-sun-solaris2.7) |
Marius Vollmer <address@hidden> 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,
--
Matthias Köppe -- http://www.math.uni-magdeburg.de/~mkoeppe
- Bug in eval-string?, rm, 2002/08/08
- Re: Bug in eval-string?, Marius Vollmer, 2002/08/08
- Re: Bug in eval-string?,
Matthias Koeppe <=
- Re: Bug in eval-string?, Marius Vollmer, 2002/08/09
- Re: Bug in eval-string?, Matthias Koeppe, 2002/08/09
- Re: Bug in eval-string?, Marius Vollmer, 2002/08/10
- Re: Bug in eval-string?, Matthias Koeppe, 2002/08/12
- Re: Bug in eval-string?, Marius Vollmer, 2002/08/12
- Re: Bug in eval-string?, Marius Vollmer, 2002/08/14
- Re: Bug in eval-string?, Neil Jerram, 2002/08/19
- Re: Bug in eval-string?, Matthias Koeppe, 2002/08/20
- Re: Bug in eval-string?, Marius Vollmer, 2002/08/21
- Emacs variables (was: Bug in eval-string?), Matthias Koeppe, 2002/08/27