scheme/load docs improvement
svn: r9301
This commit is contained in:
parent
46b8b435ca
commit
268c82d39b
|
@ -5,13 +5,17 @@
|
||||||
|
|
||||||
@defmodulelang[scheme/load]
|
@defmodulelang[scheme/load]
|
||||||
|
|
||||||
The @scheme[scheme/load] language supports traditional Scheme
|
The @schememodname[scheme/load] language supports traditional Scheme
|
||||||
evaluation, where each top-level form in the module body is separately
|
evaluation, where each top-level form in the module body is separately
|
||||||
passed to @scheme[eval] in the same way as for @scheme[load]. The
|
passed to @scheme[eval] in the same way as for @scheme[load].
|
||||||
namespace for evaluation shares the @tech{module registry} with the
|
|
||||||
enclosing module, but it has a separate top-level environment, and it is
|
The namespace for evaluation shares the @tech{module registry} with
|
||||||
initialized with the bindings of @schememodname[scheme]. The
|
the @schememodname[scheme/load] module instance, but it has a separate
|
||||||
@scheme[scheme/load] library itself exports only
|
top-level environment, and it is initialized with the bindings of
|
||||||
|
@schememodname[scheme]. A single namespace is created for each
|
||||||
|
instance of the @schememodname[scheme/load] module (i.e., multiple
|
||||||
|
modules using the @schememodname[scheme/load] language share a
|
||||||
|
namespace). The @scheme[scheme/load] library exports only
|
||||||
@schemeidfont{#%module-begin} and @schemeidfont{#%top-interaction}
|
@schemeidfont{#%module-begin} and @schemeidfont{#%top-interaction}
|
||||||
forms that effectively swap in the evaluation namespace and call
|
forms that effectively swap in the evaluation namespace and call
|
||||||
@scheme[eval].
|
@scheme[eval].
|
||||||
|
|
Loading…
Reference in New Issue
Block a user