package batteries

  1. Overview
  2. Docs
A community-maintained standard library extension

Install

Dune Dependency

Authors

Maintainers

Sources

v3.3.0.tar.gz
sha256=40d18485911e343500a5636bbf1d84e2ee32f924fe87e5fd13a37641a4d8f226
md5=fe4da12b678a82faaeda4e58492ea871

doc/batteries.unthreaded/BatHashcons/H/index.html

Module BatHashcons.H

Hashing utilities

val hc0_ : int -> int

hc0_ h corresponds to the hashcode of a first constructor applied to an object of hashcode h

val hc0 : 'a hobj -> int

hc0 ho is the hashcode of a first constructor applied to the hashed object ho

val hc1_ : int -> int -> int

hc1_ h k corresponds to the hashcode of the kth constructor applied to an object of hashcode h.

val hc1 : 'a hobj -> int -> int

hc1 ho k corresponds to the hashcode of the kth constructor applied to the hashed object ho.

OCaml

Innovation. Community. Security.