Next: Parameters, Previous: Exceptions, Up: Scheme reference [Contents][Index]
A fluid is a variable whose value is associated with the dynamic
extent of a procedure call. The (hoot fluids)
module
implements Guile’s fluid API. See the Guile manual
for more detailed information.
Return a new fluid whose initial value is default.
Return #t
if obj is a fluid.
Return the value currently stored within fluid.
Set the contents of fluid to val.
Call thunk, a procedure of zero arguments, in a context where the fluid is set to val. When control leaves the dynamic extent of thunk, fluid is set back to its previous value.
Evaluate body1 body2 … in a context where each fluid is set to its respective value.