package ocaml-base-compiler

Part of the compiler
  1. Overview
  2. Docs
Official release 4.14.5

Install

dune-project
 Dependency

Authors

Maintainers

Sources

ocaml_4.14.5.tar.gz
sha256=608c30e5b97fc4568741db8e5e674a5a081ef08a3c4d17172deb1dc6c8825037

doc/stdlib/Stdlib/Hashtbl/module-type-SeededHashedType/index.html

Module type Hashtbl.SeededHashedTypeSource

The input signature of the functor MakeSeeded.

  • since 4.00.0
type t

The type of the hashtable keys.

val equal : t -> t -> bool

The equality predicate used to compare keys.

val hash : int -> t -> int

A seeded hashing function on keys. The first argument is the seed. It must be the case that if equal x y is true, then hash seed x = hash seed y for any value of seed. A suitable choice for hash is the function Stdlib.Hashtbl.seeded_hash below.