package batteries

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

Install

Dune Dependency

Authors

Maintainers

Sources

v3.4.0.tar.gz
md5=66b6e0b25769fc2363972c6a6ab6ac33
sha256=584d314cbaa5485e26d08ce87f7d7ff49043d9096101f2641b59def9aa6d7d71

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.