package containers-data

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

Install

Dune Dependency

Authors

Maintainers

Sources

containers-3.15.tbz
sha256=92143ceb4785ae5f8a07f3ab4ab9f6f32d31ead0536e9be4fdb818dd3c677e58
sha512=5fa80189d0e177af2302b48e72b70299d51fc36ac2019e1cbf389ff6a7f4705b10089405b5a719b3e4845b0d1349a47a967f865dc2e4e3f0d5a0167ef6c31431

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.