Node:Environments, Next:The Guile module system, Previous:provide and require, Up:Modules
Scheme, as defined in R5RS, does not have a full module system. However it does define the concept of a top-level environment. Such an environment maps identifiers (symbols) to Scheme objects such as procedures and lists: About Closure. In other words, it implements a set of bindings.
Environments in R5RS can be passed as the second argument to
eval (see Fly Evaluation). Three procedures are defined to
interaction-environment (see Fly Evaluation).
In addition, in Guile any module can be used as an R5RS environment,
i.e., passed as the second argument to
|scheme-report-environment version||Scheme Procedure|
|null-environment version||Scheme Procedure|
version must be the exact integer `5', corresponding to revision
5 of the Scheme report (the Revised^5 Report on Scheme).
Currently Guile does not support values of version for other revisions of the report.
The effect of assigning (through the use of