CamlinternalMenhirLib.ErrorReports(3) OCaml library CamlinternalMenhirLib.ErrorReports(3)

# [NAME](#NAME)

CamlinternalMenhirLib.ErrorReports - no description

# [Module](#Module)

Module CamlinternalMenhirLib.ErrorReports

# [Documentation](#Documentation)

Module **ErrorReports**  
: **sig end**

*type* **'a** *buffer*

*val wrap* : **(Lexing.lexbuf -&gt; 'token) -&gt;** **(Lexing.position * Lexing.position)** **buffer * (Lexing.lexbuf -&gt; 'token)**

*val wrap\_supplier* : **(unit -&gt; 'token * Lexing.position * Lexing.position) -&gt;** **(Lexing.position * Lexing.position)** **buffer \*** **(unit -&gt; 'token * Lexing.position * Lexing.position)**

*val show* : **('a -&gt; string) -&gt; 'a buffer -&gt; string**

*val last* : **'a buffer -&gt; 'a**

*val extract* : **string -&gt; Lexing.position * Lexing.position -&gt; string**

*val sanitize* : **string -&gt; string**

*val compress* : **string -&gt; string**

*val shorten* : **int -&gt; string -&gt; string**

*val expand* : **(int -&gt; string) -&gt; string -&gt; string**

2026-10-27 OCamldoc

---

Document: CamlinternalMenhirLib.ErrorReports(3o) from ocaml-4 4.14.4-r4 (Chainguard OS)
Source: https://github.com/ocaml/ocaml
