package containers-data

  1. Overview
  2. Docs
A set of advanced datatypes for containers

Install

Dune Dependency

Authors

Maintainers

Sources

v3.6.1.tar.gz
md5=efbef89f1e3460225c7d03e3ae2af62e
sha512=e3b43af275a660c46e7ded32c1a6e51396589a25af7b64187d044bcbfd05f5143f9024c4655921c606b86b99d0ab73e81c99dc75b23d52601682491c1b6abc9f

doc/containers-data/CCPersistentHashtbl/index.html

Module CCPersistentHashtblSource

Persistent hash-table on top of OCaml's hashtables

Almost as efficient as the regular Hashtbl type, but with a persistent interface (rewinding changes to get back in the past history). This is mostly useful for backtracking-like uses, or forward uses (never using old values).

This module is not thread-safe.

Sourcetype 'a iter = ('a -> unit) -> unit
Sourcetype 'a printer = Format.formatter -> 'a -> unit
Sourcetype 'a equal = 'a -> 'a -> bool
Sourcemodule type HashedType = sig ... end

Signature of such a hashtable

Sourcemodule type S = sig ... end

Implementation

Sourcemodule Make (H : HashedType) : S with type key = H.t
OCaml

Innovation. Community. Security.