[previous] [up] [next]     [index]
Next: Thanks Up: Library Collections and MzLib Previous: Library Collections and MzLib

MzLib Overview

The MzLib utilities and syntax are not built into MzScheme and they are not already present after the stand-alone version of MzScheme has started.

MzLib is distributed among several smaller libraries, and each smaller library can be separately loaded. The utilities provided by each library and the other libraries it requires are detailed in the next chapter.

The non-macro parts of MzLib are written using signed units (see section 7.2). These libraries can be used through a unit, or the unit can be invoked and opened to use the utilities as top-level definitions. Non-macro libraries have five requirable files:

Some libraries contain only macros, and therefore do not have the xu.ss, xr.ss, and xs.ss files.

Applications written in core Scheme will most likely use (require-library "x.ss"), while unit-based applications will use (require-library "xs.ss") and (require-library-unit/sig "xr.ss") (see section 15.2.20).

In all, MzLib contains the following requirable files:

The compatm.ss library contains just the macro portion of compat.ss.

A set of libraries marked with [CORE] can be required at once by requiring core.ss, coreu.ss, corer.ss, or cores.ss. The corem.ss library requires only the macro-defining [CORE] libraries.

The set of all MzLib libraries can be required at once by requiring mzlib.ss, mzlibu.ss, mzlibr.ss, or mzlibs.ss. The mzlibm.ss library loads the macro-defining MzLib libraries.

For libraries without xu.ss files, coreu.ss and mzlibu.ss require x.ss.




[previous] [up] [next]     [index]
Next: Thanks Up: Library Collections and MzLib Previous: Library Collections and MzLib

PLT