Next: scheme library form names, Up: scheme library form [Index]
A library declaration contains the following elements:
export
subform specifies a list of exports, which names a
subset of the bindings defined within or imported into the library.
import
subform specifies the imported bindings as a list of
import dependencies, where each dependency specifies:
An identifier can be imported with the same local name from two or more libraries or for two levels from the same library only if the binding exported by each library is the same (i.e., the binding is defined in one library, and it arrives through the imports only by exporting and re–exporting). Otherwise, no identifier can be imported multiple times, defined multiple times, or both defined and imported. No identifiers are visible within a library except for those explicitly imported into the library or defined within the library.