CamlinternalM....ErrorReports(3)

πŸ’– NAME πŸ’–

okay so bestie, this is the CamlinternalM....ErrorReports(3) page from the OCaml library β€” and the module is CamlinternalMenhirLib.ErrorReports. The page says no description, and I’m not being shady, that’s literally all it says. 🫢

πŸ¦‹ Module πŸ¦‹

Module CamlinternalMenhirLib.ErrorReports

✨ Documentation ✨

The documentation opens with this exact module declaration, sig end and all:

Module ErrorReports
 : sig end

Then it’s just the type and value signatures, no extra lore. So here they are, verbatim, with zero edits:

  • type 'a buffer β€” the type line is exactly:
type 'a buffer
  • val wrap β€” exact signature, periodt:
val wrap : (Lexing.lexbuf -> 'token) -> (Lexing.position *
Lexing.position) buffer * (Lexing.lexbuf -> 'token)
  • val wrap_supplier β€” exact signature, no cap:
val wrap_supplier : (unit -> 'token * Lexing.position * Lexing.position)
-> (Lexing.position * Lexing.position) buffer * (unit -> 'token *
Lexing.position * Lexing.position)
  • val show β€” exact signature:
val show : ('a -> string) -> 'a buffer -> string
  • val last β€” exact signature:
val last : 'a buffer -> 'a
  • val extract β€” exact signature:
val extract : string -> Lexing.position * Lexing.position -> string
  • val sanitize β€” exact signature:
val sanitize : string -> string
  • val compress β€” exact signature:
val compress : string -> string
  • val shorten β€” exact signature:
val shorten : int -> string -> string
  • val expand β€” exact signature:
val expand : (int -> string) -> string -> string

This iconic little page was brought to you by OCamldoc, dated 2026-06-22, and it’s the CamlinternalM....ErrorReports(3) manual page signing off πŸ’…βœ¨

πŸ“¦ where this page comes from