Go to the first, previous, next, last section, table of contents.


Using Modules

procedure: import-module modu
Modu should be a module as returned by module, make-module, or load-module. The import-module procedure adds the bindings from modu to the top level environment. If an identifier exported from modu already has a top level binding, that binding is occluded.

syntax: with-module expr <body>
Expr is a expression which should evaluate to a module as returned by module, make-module, or load-module. After evaluating expr, <body> is evaluated in the current environment extended by the bindings from that module. The value of the last expression of <body> is returned.


Go to the first, previous, next, last section, table of contents.