Parameter F.1-Hash
val fold_int : state -> int -> statefold_<T> state vincorporates a valuevof type <T> into the hash-state, returning a modified hash-state. Implementations of thefold_<T>functions may mutate thestateargument in place, and return a reference to it. Implementations of the fold_<T> functions should not allocate.
val fold_int64 : state -> int64 -> stateval fold_float : state -> float -> stateval fold_string : state -> string -> state
val alloc : unit -> statealloc ()returns a fresh uninitialized hash-state. May allocate.
val reset : ?seed:seed -> state -> statereset ?seed stateinitializes/resets a hash-state with the givenseed, or else a default-seed. Argumentstatemay be mutated. Should not allocate.
val get_hash_value : state -> hash_valueget_hash_valueextracts a hash-value from the hash-state.
module For_tests : sig ... end