package elpi

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

elpi-3.7.0.tbz
sha256=84ed0907ac8787790ccd14a0a77762c3f7394b3e3de5c7df74e5448fd406009a
sha512=eb3f3b8323cab051549b9779620bc30dcaacf456e5c7b3ffc6723f74ba9d811b860a9f0540eb2cb24dc024188e55dcf2b50ae1b42e7cb47ad45b984637f281f5

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.