This module provides a non-updatable hash datastructure, on top of the fsa_array module.
Here's an overview of the predicates provided:
fsa_hash_new/[1,2] create a new non-updatable hash
fsa_hash_access/[3,4] access a value in a non-updatable hash
fsa_hash_get/3 get a value in a non-updatable hash
The hash function is taken from library(terms). The default size of the hashes is determined by the global variable hash_size.
This section lists the predicates defined by this module.
Initializes a new FsaHash with size Size; or default size if there is no second argument. The default size is given by the global variable hash_size.
Unifies Val with the value associated with Key in FsaHash. Note that keys must be ground Prolog terms. For the 4-ary form, if Key had no associated value, then Default is unified with Val (and Key is not added to the table).
Keylist is a list of all the Key-Value pairs in HashedFsaArray.