package store-dict

  1. Overview
  2. Docs
Snapshottable dictonaries and hashtables

Install

dune-project
 Dependency

Authors

Maintainers

Sources

store-v0.2.tar.bz2
sha512=42d6c7a850a7ac113c5470d6ebe9b5a160a9aa57d009b7eda17a14cda5a54a1dcecd146281322da70579bab08ede70ebe23aa5c48cc3ad3c2c90098424fafbb7

doc/store-dict/Store_Dict/Hashtbl/index.html

Module Store_Dict.HashtblSource

Hashtbl is a store-indexed version of the polymorphic hashtables of the standard library's Hashtbl module.

Sourcetype ('k, 'v) t
Sourceval create : Store.t -> ?random:bool -> int -> ('k, 'v) t
Sourceval find : Store.t -> ('k, 'v) t -> 'k -> 'v
Sourceval mem : Store.t -> ('k, 'v) t -> 'k -> bool
Sourceval replace : Store.t -> ('k, 'v) t -> 'k -> 'v -> unit
Sourceval remove : Store.t -> ('k, 'v) t -> 'k -> unit

no-op on missing keys

Sourceval iter : Store.t -> ('k -> 'v -> unit) -> ('k, 'v) t -> unit
Sourceval unsafe_view : Store.t -> ('k, 'v) t -> ('k, 'v) Hashtbl.t