Location.Doc(3)

✨ NAME ✨

Location.Doc β€” okay so the manpage literally says "no description" and honestly? iconic mystery-box energy πŸŽ€ bestie it's a module of little printer helpers for the compiler's Location stuff, and the docs are serving "figure it out yourself, queen." No cap, that's all the NAME section gives us.


πŸ“¦ Module πŸ“¦

Here's the whole thing, and yes it really is this short, don't come for me:

Module Doc
 : sig end

That's Location.Doc β€” a module whose signature just says sig end at the outer level. The good stuff lives in the vals below πŸ‘‡


πŸ’– Documentation πŸ’–

Module Doc it is, and here's every single value it ships. Not one skipped, not one merged, fr fr 🫢

  • val separate_new_message : unit Format_doc.printer β€” a printer that takes unit and, as the name lowkey screams, separates a new message. Type is exactly unit Format_doc.printer, no substitutions πŸ’…
  • val filename : string Format_doc.printer β€” a printer for a string filename. It's giving "just print the path, bestie" ✨
  • val quoted_filename : string Format_doc.printer β€” same string energy but the filename comes out quoted, hence the name. Obsessed with the honesty 🌸
  • val loc : Location.t Format_doc.printer β€” a printer for a single Location.t. One location, one slay πŸ”₯
  • val locs : Location.t list Format_doc.printer β€” a printer for a Location.t list. Plural. A whole little squad of locations πŸ’œ
Heads up: that's genuinely the entire documentation in the original. Five vals, each typed _ Format_doc.printer, and zero extra prose. I'm not hiding lore from you β€” there is no lore. 😭

And that's the page, bestie β€” every val, every type, every sig end, all present and accounted for πŸ‘‘

Cute little sign-off: this page came from OCamldoc, dated 2026-06-22 β€” so go forth, print your locations, and remember that a manpage with no description is still a manpage that ate πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from