Hash.Builtinval hash_fold_nativeint : nativeint folderval hash_fold_int64 : int64 folderval hash_fold_int32 : int32 folderval hash_fold_char : char folderval hash_fold_int : int folderval hash_fold_bool : bool folderval hash_fold_string : string folderval hash_fold_float : float folderval hash_fold_unit : unit folderHash support for array and ref is provided, but is potentially DANGEROUS, since it incorporates the current contents of the array/ref into the hash value. Because of this we add a _frozen suffix to the function name.
Hash support for string is also potentially DANGEROUS, but strings are mutated less often, so we don't append _frozen to it.
Also note that we don't support bytes.
val hash_nativeint : nativeint -> hash_valueval hash_int64 : int64 -> hash_valueval hash_int32 : int32 -> hash_valueval hash_char : char -> hash_valueval hash_int : int -> hash_valueval hash_bool : bool -> hash_valueval hash_string : string -> hash_valueval hash_float : float -> hash_valueval hash_unit : unit -> hash_value