Compiler and interactive system of SML/NJ consist of several hundred individual compilation units. Like modules of application programs, these compilation units are also organized using CM libraries.
Some of the libraries that make up SML/NJ are actually the same ones that application programmers are likely to use, others exist for organizational purposes only. There are ``plugin'' libraries--mainly for the CM ``tools'' subsystem--that will be automatically loaded on demand, and libraries such as $smlnj/cmb.cm can be used to obtain access to functionality that by default is not present.