package orm

  1. Overview
  2. Docs

Parameters

module H : Stdlib.Hashtbl.HashedType

Signature

type key = H.t
type 'a t
val create : int -> 'a t
val clear : 'a t -> unit
val add : 'a t -> key -> 'a -> unit
val replace : 'a t -> key -> 'a -> unit
val remove : 'a t -> key -> unit
val merge : 'a t -> key -> 'a -> 'a
val find : 'a t -> key -> 'a
val find_all : 'a t -> key -> 'a list
val mem : 'a t -> key -> bool
val iter : 'a t -> (key -> 'a -> unit) -> unit
val fold : 'a t -> (key -> 'a -> 'b -> 'b) -> 'b -> 'b
val count : 'a t -> int
val stats : 'a t -> int * int * int * int * int * int
val to_list : 'a t -> (key * 'a) list
OCaml

Innovation. Community. Security.