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 β€” the create signature, exactly as written ✨
  • val clear : 'a t -> unit β€” the clear signature, exactly as written 🧹
  • val reset : 'a t -> unit β€” the reset signature, exactly as written πŸ”„
    • Since 4.00
  • val copy : 'a t -> 'a t β€” the copy signature, exactly as written πŸŽ€
  • val add : 'a t -> key -> 'a -> unit β€” the add signature, exactly as written βž•
  • val remove : 'a t -> key -> unit β€” the remove signature, exactly as written πŸ—‘οΈ
  • val find_and_remove : 'a t -> key -> 'a option β€” the find_and_remove signature, exactly as written πŸ”
    • Since 5.5
  • val find : 'a t -> key -> 'a β€” the find signature, exactly as written πŸ•΅οΈ
  • val find_opt : 'a t -> key -> 'a option β€” the find_opt signature, exactly as written 🫢
    • Since 4.05
  • val find_all : 'a t -> key -> 'a list β€” the find_all signature, exactly as written πŸ“‹
  • val replace : 'a t -> key -> 'a -> unit β€” the replace signature, exactly as written πŸ”
  • val find_and_replace : 'a t -> key -> 'a -> 'a option β€” the find_and_replace signature, exactly as written πŸ¦‹
    • Since 5.5
  • val mem : 'a t -> key -> bool β€” the mem signature, exactly as written βœ…
  • val iter : (key -> 'a -> unit) -> 'a t -> unit β€” the iter signature, exactly as written πŸ”‚
  • val filter_map_inplace : (key -> 'a -> 'a option) -> 'a t -> unit β€” the filter_map_inplace signature, exactly as written 🧚
    • Since 4.03
  • val fold : (key -> 'a -> 'acc -> 'acc) -> 'a t -> 'acc -> 'acc β€” the fold signature, exactly as written πŸŒ€
  • val length : 'a t -> int β€” the length signature, exactly as written πŸ“
  • val stats : 'a t -> Hashtbl.statistics β€” the stats signature, exactly as written πŸ“Š
    • Since 4.00
  • val to_seq : 'a t -> (key * 'a) Seq.t β€” the to_seq signature, exactly as written 🌈
    • Since 4.07
  • val to_seq_keys : 'a t -> key Seq.t β€” the to_seq_keys signature, exactly as written πŸ”‘
    • Since 4.07
  • val to_seq_values : 'a t -> 'a Seq.t β€” the to_seq_values signature, exactly as written πŸ’Ž
    • Since 4.07
  • val add_seq : 'a t -> (key * 'a) Seq.t -> unit β€” the add_seq signature, exactly as written βž•
    • Since 4.07
  • val replace_seq : 'a t -> (key * 'a) Seq.t -> unit β€” the replace_seq signature, exactly as written πŸ”
    • Since 4.07
  • val of_seq : (key * 'a) Seq.t -> 'a t β€” the of_seq signature, 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