package ocamlgraph

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

Parameters

module X : Sig.COMPARABLE

Signature

type key = X.t
type 'a t = 'a Hashtbl.Make(X).t
val clear : 'a t -> unit
val reset : 'a t -> unit
val copy : 'a t -> 'a t
val find_opt : 'a t -> key -> 'a option
val find_all : 'a t -> key -> 'a list
val replace : 'a t -> key -> 'a -> unit
val iter : (key -> 'a -> unit) -> 'a t -> unit
val filter_map_inplace : (key -> 'a -> 'a option) -> 'a t -> unit
val fold : (key -> 'a -> 'b -> 'b) -> 'a t -> 'b -> 'b
val length : 'a t -> int
val stats : 'a t -> Hashtbl.statistics
type 'a return = unit
val empty : unit
val create_from : 'a t -> 'b t
val create : ?size:int -> unit -> 'a t
val is_empty : 'a t -> bool
val find_and_raise : key -> 'a t -> string -> 'a
val map : (key -> 'a -> key * 'b) -> 'a t -> 'b t
val add : key -> 'a -> 'a t -> 'a t
val remove : key -> 'a t -> 'a t
val mem : key -> 'a t -> bool
val find : key -> 'a t -> 'a
OCaml

Innovation. Community. Security.