guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dynamic scopes? fluids?


From: Martin Grabmueller
Subject: Re: dynamic scopes? fluids?
Date: Thu, 19 Jul 2001 18:05:13 +0200

> From: address@hidden (Robert Brown)
> Date: Thu, 19 Jul 2001 10:38:09 -0400
> 
> I would like to ensure that my variable is accessible within the current
> scope/environment as well as any scopes or within any invokations of
> functions under this scope, but without making it "global" (current
> top-level environment).  After doing some web searching, it seems that
> "fluids" will do what I want.  Is this correct?  Can I just make a fluid,
> set it, and then use fluid-ref anywhere "below" as is done with dynamic
> scoping/bindings?

Yes, but you have to make sure that the fluid is available wherever
you need it.  At least that is what I have understood about fluids, I
haven't used them myself yet.

Regards,
  'martin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]