package core-and-more

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

Module HashTable.MakeSource

Parameters

module D : sig ... end

Signature

Sourcemodule D : sig ... end
Sourcetype key = D.t
Sourcetype 'a t = (key, 'a) Core.Hashtbl.t
Sourceval create : int -> (D.t, 'a) Core.Hashtbl.t
Sourceval empty : 'a -> (D.t, 'b) Core.Hashtbl.t
Sourceval add : key -> 'a -> 'a t -> unit
Sourceval find_or_add : key -> (unit -> 'a) -> 'a t -> 'a
Sourceval update : key -> ('a option -> 'a) -> 'a t -> unit
Sourceval size : 'a t -> int
Sourceval is_empty : 'a t -> bool
Sourceval contains_key : D.t -> 'a t -> bool
Sourceval find_opt : D.t -> 'a t -> 'a option
Sourceval fold : (key -> 'a -> 'b -> 'b) -> 'a t -> 'b -> 'b
Sourceval fold2 : (key -> 'a -> key -> 'b -> 'c -> 'c) -> 'a t -> 'b t -> 'c -> 'c
Sourceval iter : (key -> 'a -> unit) -> 'a t -> unit
Sourceval as_kvp_list : 'a t -> (key * 'a) list
Sourceval pp : (Format.formatter -> key -> unit) -> (Format.formatter -> 'a -> unit) -> Format.formatter -> 'a t -> unit
Sourceval copy : 'a t -> 'a t
OCaml

Innovation. Community. Security.