Module SCL/Environment

This module is undocumented. This is a list of its definitions.

createRuntimeEnvironment :: [(String, String)] -> <Proc> RuntimeEnvironment

Builds a runtime environment in the module repository the calling module was compiled in, importing the given modules. Each pair is a module name and the local name it is imported under, where an empty local name imports the module without a prefix. Fails if a module does not exist or does not compile.

createRuntimeEnvironment_ :: ModuleRepository -> EnvironmentSpecification -> <Proc> RuntimeEnvironment

Compiles the modules of the given specification in the given module repository and builds a runtime environment of them. Fails if a module does not exist or does not compile.

fromList :: [(String, String)] -> EnvironmentSpecification

Builds an environment specification from pairs of module name and local name. An empty local name imports the module without a prefix.