Next: 2.8 Stable libraries
Up: 2. The CM model
Previous: 2.6 Library components (groups)
  Contents
2.7 Multiple occurences of the same member
The following rules apply to multiple occurences of the same ML source
file, the same library, or the same group within a program:
- Within the same description file, each member can be specified
at most once.
- Libraries can be referred to freely from as many other groups or
libraries as the programmer desires.
- A group cannot be used from outside the uniquely defined library
(as specified in its description file) of which it is a component.
However, within that library it can be referred to from arbitrarily
many other groups.
- The same ML source file cannot appear more than once. If an ML
source file is to be referred to by multiple clients, it must first be
``wrapped'' into a library (or--if all references are from within the
same library--a group).
Matthias Blume
2001-07-19