Vocabulary
assocs

Inputs
na non-negative integer
assocan assoc


Outputs
codean integer


Word description
Computes a hashcode for an assoc, such that equal assocs will have the same hashcode.

Notes
Custom assoc implementations should use this word to implement a method for the hashcode* generic word.

Definition