package ocaml-base-compiler

  1. Overview
  2. Docs
Official release 4.14.3

Install

dune-project
 Dependency

Authors

Maintainers

Sources

4.14.3.tar.gz
sha256=e510689183b2d62b0a7513ea7e47be80ddb9173377a2df436dbc1ca927a64689

doc/stdlib/Stdlib/Ephemeron/K1/MakeSeeded/argument-1-H/index.html

Parameter MakeSeeded.H

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.