Function: eval expression [environment]
evalevaluatesexpressionin the environment indicated byenvironment.The default for
environmentis the result of(interaction-environment).
Function: null-environment version
This procedure returns an environment that contains no variable bindings, but contains (syntactic) bindings for all the syntactic keywords.
The effect of assigning to a variable in this environment (such as
let) is undefined.
Function: scheme-report-environment version
The
versionmust be an exact non-negative inetger corresponding to a version of one of the RevisedversionReports on Scheme. The procedure returns an environment that contains exactly the set of bindings specified in the corresponding report.This implementation supports
versionthat is 4 or 5.The effect of assigning to a variable in this environment (such as
car) is undefined.
Function: interaction-environment
This procedure return an environment that contains implementation-defined bindings, as well as top-level user bindings.
Function: environment-bound? environment symbol
Return true
#tif there is a binding forsymbolinenvironment; otherwise returns#f.
Syntax: fluid-let ((variable init) ...) body ...
Evaluate the
initexpressions. Then modify the dynamic bindings for thevariablesto the values of theinitexpressions, and evaluate thebodyexpressions. Return the result of the last expression inbody. Before returning, restore the original bindings. The temporary bindings are only visible in the current thread, and its descendent threads.
If
nodeis specified, returns the base-URI property of thenode. If thenodedoes not have the base-URI property, returns#f. (The XQuery version returns the empty sequence in that case.)In the zero-argument case, returns the "base URI" of the current context. By default the base URI is the current working directory (as a URL). While a source file is
loaded, the base URI is temporarily set to the URL of the document.