Hashtbl.S(3)
π NAME π
Okay bestie, welcome to Hashtbl.S(3) from the OCaml library manual β¨ This page is literally the output signature of the functor Hashtbl.Make, periodt.
π§ Module type π§
This is the Module type entry for Hashtbl.S, and it's giving signature-only main character energy π
β¨ Documentation β¨
πΈ Module type S πΈ
Here's the shape of it, exactly as written:
Module type S
= sig end
No cap, that's the whole signature shell. Now for the types and values inside, in the same order as the source, with every Since note kept safe and sound π
type keyβ the key type, obvs πtype !'a tβ the table type, with that!right where it belongs πval create : int -> 'a tβ thecreatesignature, exactly as written β¨val clear : 'a t -> unitβ theclearsignature, exactly as written π§Ήval reset : 'a t -> unitβ theresetsignature, exactly as written π- Since 4.00
val copy : 'a t -> 'a tβ thecopysignature, exactly as written πval add : 'a t -> key -> 'a -> unitβ theaddsignature, exactly as written βval remove : 'a t -> key -> unitβ theremovesignature, exactly as written ποΈval find_and_remove : 'a t -> key -> 'a optionβ thefind_and_removesignature, exactly as written π- Since 5.5
val find : 'a t -> key -> 'aβ thefindsignature, exactly as written π΅οΈval find_opt : 'a t -> key -> 'a optionβ thefind_optsignature, exactly as written π«Ά- Since 4.05
val find_all : 'a t -> key -> 'a listβ thefind_allsignature, exactly as written πval replace : 'a t -> key -> 'a -> unitβ thereplacesignature, exactly as written πval find_and_replace : 'a t -> key -> 'a -> 'a optionβ thefind_and_replacesignature, exactly as written π¦- Since 5.5
val mem : 'a t -> key -> boolβ thememsignature, exactly as written βval iter : (key -> 'a -> unit) -> 'a t -> unitβ theitersignature, exactly as written πval filter_map_inplace : (key -> 'a -> 'a option) -> 'a t -> unitβ thefilter_map_inplacesignature, exactly as written π§- Since 4.03
val fold : (key -> 'a -> 'acc -> 'acc) -> 'a t -> 'acc -> 'accβ thefoldsignature, exactly as written πval length : 'a t -> intβ thelengthsignature, exactly as written πval stats : 'a t -> Hashtbl.statisticsβ thestatssignature, exactly as written π- Since 4.00
val to_seq : 'a t -> (key * 'a) Seq.tβ theto_seqsignature, exactly as written π- Since 4.07
val to_seq_keys : 'a t -> key Seq.tβ theto_seq_keyssignature, exactly as written π- Since 4.07
val to_seq_values : 'a t -> 'a Seq.tβ theto_seq_valuessignature, exactly as written π- Since 4.07
val add_seq : 'a t -> (key * 'a) Seq.t -> unitβ theadd_seqsignature, exactly as written β- Since 4.07
val replace_seq : 'a t -> (key * 'a) Seq.t -> unitβ thereplace_seqsignature, exactly as written π- Since 4.07
val of_seq : (key * 'a) Seq.t -> 'a tβ theof_seqsignature, exactly as written π- Since 4.07
Catch you later, bestie β signed off by OCamldoc, dated 2026-06-22, under the Hashtbl.S(3) title π
β¨
π¦ where this page comes from
- arch rolling: ocaml 5.5.0-1 Β· LGPL2.1 AND custom: QPL-1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms