Hashtbl.SeededS(3)

✨ NAME ✨

Hiii bestie πŸ’– welcome to Hashtbl.SeededS(3) from the OCaml library manual. This page is lowkey the output signature of the functor Hashtbl.MakeSeeded β€” it's giving "contract, but make it cute" ✨.

🐚 Module type 🐚

Module type Hashtbl.SeededS

🌸 Documentation 🌸

Okay so, the module type is literally:

Module type SeededS = sig end

And fr fr, this is the output signature of the functor Hashtbl.MakeSeeded. Since 4.00 β€” an icon, no cap πŸ‘‘.

Here's the whole signature lineup, in order, nothing skipped:

  • 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_and_remove : 'a t -> key -> 'a option β€” Since 5.5
  • val find : 'a t -> key -> 'a
  • val find_opt : 'a t -> key -> 'a option β€” Since 4.05
  • val find_all : 'a t -> key -> 'a list
  • val replace : 'a t -> key -> 'a -> unit
  • val find_and_replace : 'a t -> key -> 'a -> 'a option β€” Since 5.5
  • 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 β€” Since 4.03
  • val fold : (key -> 'a -> 'acc -> 'acc) -> 'a t -> 'acc -> 'acc
  • val length : 'a t -> int
  • val stats : 'a t -> Hashtbl.statistics
  • val to_seq : 'a t -> (key * 'a) Seq.t β€” Since 4.07
  • val to_seq_keys : 'a t -> key Seq.t β€” Since 4.07
  • val to_seq_values : 'a t -> 'a Seq.t β€” Since 4.07
  • val add_seq : 'a t -> (key * 'a) Seq.t -> unit β€” Since 4.07
  • val replace_seq : 'a t -> (key * 'a) Seq.t -> unit β€” Since 4.07
  • val of_seq : (key * 'a) Seq.t -> 'a t β€” Since 4.07

That's the whole thing, bestie β€” every type and val is up there, looking cute and fully accounted for 🫢. xoxo, OCamldoc, 2026-06-22 πŸŒˆπŸ’…

πŸ“¦ where this page comes from