A primary Muq metaphor is that of objects viewed as sets of keyValue pairs. In essence, objects are two-column relations, the relation being one of the most fundamental and flexible mathematical structures. The restriction to two columns is mildly inelegant, but not serious given that the value column may be a vector; From a relational perspective, the Muq implementation restriction to only indexing on the key column is considerably more serious.
This section documents the fundamental Muq primitives for
manipulating the contents of objects. Higher-level
facilities such as the
for operator are built on top
of these, and will frequently be found to be more convenient
that using the prims directly.
Five parallel sets of primitives are provided, one set each for the five sets of keyVal pairs on Muq objects: public, hidden, system, admins. We document the public set in detail, then briefly list the other sets.
Go to the first, previous, next, last section, table of contents.