This section mainly deals with accessing and modifying an
unordered map data type, a Prolog reference type. The predicate
ir_object_new/1 creates a new unordered map. Keys are restricted
to atoms. Values are accessed or modified unchanged as Prolog
terms, and can be unordered map data types itself, allowing for
the nesting of objects.
The unordered map data type is not meant to provide a Prolog feature term, since the data type does neither participate in unification or nor in Prolog garbage collection. Although not forbidden, non-atomic values are therefore not recommended and should be restricted to proper ground terms. On the other hand, the native garbage collection stays intact.
The following object access predicates are provided: