Library
Module
Module type
Parameter
Class
Class type
type (!'a, !'b) t = ('a, 'b) Hashtbl.t
Alias for Hashtbl.t
type statistics =
num_bindings: int ;
num_buckets: int ;
max_bucket_length: int ;
bucket_histogram: int array
module type HashedType = sig ... end
Alias for Hashtbl.HashedType
module type S = sig ... end
module type S = sig type key type !'a t val create : int -> 'a t val clear : 'a t -> unit val reset : 'a t -> unit val copy : 'a t -> 'a t val add : 'a t -> key -> 'a -> unit val remove : 'a t -> key -> unit val find : 'a t -> key -> 'a val find_opt : 'a t -> key -> 'a option val find_all : 'a t -> key -> 'a list val replace : 'a t -> key -> 'a -> unit val mem : 'a t -> key -> bool 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 -> statistics val to_seq : 'a t -> (key * 'a) Seq.t val to_seq_keys : 'a t -> key Seq.t val to_seq_values : 'a t -> 'a Seq.t val add_seq : 'a t -> (key * 'a) Seq.t -> unit val replace_seq : 'a t -> (key * 'a) Seq.t -> unit val of_seq : (key * 'a) Seq.t -> 'a t end
module Make = Hashtbl.Make
module type SeededHashedType = sig ... end
module type SeededS = sig ... end
module type SeededS = sig type key type !'a t val create : ?random:bool -> int -> 'a t val clear : 'a t -> unit val reset : 'a t -> unit val copy : 'a t -> 'a t val add : 'a t -> key -> 'a -> unit val remove : 'a t -> key -> unit val find : 'a t -> key -> 'a val find_opt : 'a t -> key -> 'a option val find_all : 'a t -> key -> 'a list val replace : 'a t -> key -> 'a -> unit val mem : 'a t -> key -> bool 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 -> statistics val to_seq : 'a t -> (key * 'a) Seq.t val to_seq_keys : 'a t -> key Seq.t val to_seq_values : 'a t -> 'a Seq.t val add_seq : 'a t -> (key * 'a) Seq.t -> unit val replace_seq : 'a t -> (key * 'a) Seq.t -> unit val of_seq : (key * 'a) Seq.t -> 'a t end
module MakeSeeded (M : SeededHashedType) : sig ... end
val find_opt : ('a, 'b) t -> 'a -> 'b option
val filter_map_inplace : ('a -> 'b -> 'b option) -> ('a, 'b) t -> unit
val filter_map_inplace : ('a -> 'b -> 'b option) -> ('a, 'b) t -> unit
val create : ?random:bool -> int -> ('a, 'b) t
val reset : ('a, 'b) t -> unit
val stats : ('a, 'b) t -> statistics
val length : ('a, 'b) t -> int
val clear : ('a, 'b) t -> unit
Alias for Hashtbl.clear
Alias for Hashtbl.copy
val add : ('a, 'b) t -> 'a -> 'b -> unit
Alias for Hashtbl.add
val find : ('a, 'b) t -> 'a -> 'b
Alias for Hashtbl.find
val find_all : ('a, 'b) t -> 'a -> 'b list
Alias for Hashtbl.find_all
val mem : ('a, 'b) t -> 'a -> bool
Alias for Hashtbl.mem
val remove : ('a, 'b) t -> 'a -> unit
Alias for Hashtbl.remove
val replace : ('a, 'b) t -> 'a -> 'b -> unit
Alias for Hashtbl.replace
val iter : ('a -> 'b -> unit) -> ('a, 'b) t -> unit
Alias for Hashtbl.iter
val fold : ('a -> 'b -> 'c -> 'c) -> ('a, 'b) t -> 'c -> 'c
Alias for Hashtbl.fold
Alias for Hashtbl.hash
external hash_param : int -> int -> 'a -> int = "caml_hash_univ_param" "noalloc"
external hash_param : int -> int -> 'a -> int = "hash_univ_param" "noalloc"