Identifiable.Tbl(3)

hii bestie 💖 welcome to Identifiable.Tbl(3) from the OCaml library manual. this page is all about the module type Identifiable.Tbl, and it’s lowkey a minimalist queen: no description, just vibes and type signatures. let’s get into it 🎀

✨ NAME ✨

Identifiable.Tbl — description: “no description” 😭. literally that’s the whole name section, no cap. iconic, honestly.

🦋 Module type 🦋

the module type is Identifiable.Tbl. yes bestie, that’s the name and that’s the section — it’s giving “I have arrived” and nothing else 🫶

💅 Documentation 💅

okay so the documentation starts with Tbl, and here’s exactly what it says:

Module type Tbl
 = sig end

then there’s this little line:

module T : sig end

and then the big include moment, periodt:

include Hashtbl.S

after that, the values show up like a group-chat rollout 💖:

  • val to_list : 'a t -> (T.t * 'a) list — you hand over 'a t, you get back (T.t * 'a) list ✨
  • val of_list : (T.t * 'a) list -> 'a t — you hand over (T.t * 'a) list, you get back 'a t 🦋
  • val to_map : 'a t -> 'a Stdlib.Map.Make(T).t — 'a t in, 'a Stdlib.Map.Make(T).t out 💅
  • val of_map : 'a Stdlib.Map.Make(T).t -> 'a t — 'a Stdlib.Map.Make(T).t in, 'a t out 🌸
  • val memoize : 'a t -> (key -> 'a) -> key -> 'a — exact type, key and all, iykyk 👑
  • val map : 'a t -> ('a -> 'b) -> 'b t — 'a t plus ('a -> 'b) gives you 'b t 🔥

and that’s the whole documentation vibe. no extra lore, just those signatures looking cute in the terminal 🧚


mwah 💋 this page was brought to you by OCamldoc, dated 2026-06-22, and it’s Identifiable.Tbl(3) — periodt. 🌈

📦 where this page comes from