package extlib

  1. Overview
  2. Docs
type ('a, 'b) t = ('a, 'b) Hashtbl.t
val exists : ('a, 'b) t -> 'a -> bool
val keys : ('a, 'b) t -> 'a Enum.t
val values : ('a, 'b) t -> 'b Enum.t
val enum : ('a, 'b) t -> ('a * 'b) Enum.t
val of_enum : ('a * 'b) Enum.t -> ('a, 'b) t
val find_default : ('a, 'b) t -> 'a -> 'b -> 'b
val find_option : ('a, 'b) Hashtbl.t -> 'a -> 'b option
val remove_all : ('a, 'b) t -> 'a -> unit
val map : ('b -> 'c) -> ('a, 'b) t -> ('a, 'c) t
val length : ('a, 'b) t -> int
val create : int -> ('a, 'b) t
val clear : ('a, 'b) t -> unit
val add : ('a, 'b) t -> 'a -> 'b -> unit
val copy : ('a, 'b) t -> ('a, 'b) t
val find : ('a, 'b) t -> 'a -> 'b
val find_all : ('a, 'b) t -> 'a -> 'b list
val mem : ('a, 'b) t -> 'a -> bool
val remove : ('a, 'b) t -> 'a -> unit
val replace : ('a, 'b) t -> 'a -> 'b -> unit
val iter : ('a -> 'b -> unit) -> ('a, 'b) t -> unit
val fold : ('a -> 'b -> 'c -> 'c) -> ('a, 'b) t -> 'c -> 'c
val hash : 'a -> int
OCaml

Innovation. Community. Security.