[ library(hash) | Reference Manual | Alphabetic Index ]

hash_insert(+Table, ++Key, +Value)

Add an entry with key Key and value Value to the hash table. Fail if an entry for Key already exists.
Table
A hash table
Key
a ground term
Value
Any term

Modes and Determinism

Fail Conditions

Table already has an entry for Key

See Also

hash_get / 3, hash_set / 3, hash_update / 4