Operations on Compound Data
The operations on compound data consist of:
- A constructor, which creates a single
package of more than one data value, and
- Selectors, which access (or select) the
individual values from the package.
These operations "hide" the representation of the data from the users of the
data: Data abstraction.