package octez-libs

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

A simple memory table backed by Hashtbl

Parameters

module P : PARAMETERS

Signature

type 'a t

subtypes Hashtbl.SeededS

type key = P.key
val create : entry_type:string -> ?random:bool -> int -> 'a t
val find : 'a t -> key -> 'a option
val add : 'a t -> key -> 'a -> unit
val replace : 'a t -> key -> 'a -> unit
val remove : 'a t -> key -> unit
val fold : (key -> 'a -> 'b -> 'b) -> 'a t -> 'b -> 'b
val length : 'a t -> int
OCaml

Innovation. Community. Security.