package elpi

  1. Overview
  2. Docs
ELPI - Embeddable λProlog Interpreter

Install

dune-project
 Dependency

Authors

Maintainers

Sources

elpi-3.4.2.tbz
sha256=c3b1a329866b56b7decc937434b9b3a559ba0851952b15eccc70031460b0e5c7
sha512=ce00b18f224896246b22ed34c7b8b5bec304fef726e9ba3a5c82a1a40c09a38d1600ab3b0f9ca567ff471803ea57a9de00a40d22b5828d25d930ed8ff29a7fd9

doc/elpi.util/Elpi_util/Util/Hashtbl/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 seeded_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 seeded_hash seed x = seeded_hash seed y for any value of seed. A suitable choice for seeded_hash is the function Hashtbl.seeded_hash below.