CamlinternalMenhirLib.Convert(3)
Hey bestie π welcome to the OCaml library manual page for CamlinternalMenhirLib.Convert(3). Buckle up, because this one is short but very real β¨
π NAME π
CamlinternalMenhirLib.Convert β no description π
That's literally it. The manpage says "no description", and I am not going to invent one, bestie. We respect the source π«Ά
π¦ Module π¦
Module CamlinternalMenhirLib.Convert β yes, that is the whole dramatic module name, no cap π
β¨ Documentation β¨
Okay so the docs open with this:
Module Convert
: sig end
Then we get the type aliases. First up, traditional:
type ('token, 'semantic_value) traditional = (Lexing.lexbuf -> 'token)
-> Lexing.lexbuf -> 'semantic_value
Next, revised:
type ('token, 'semantic_value) revised = (unit -> 'token) ->
'semantic_value
Then the conversion vals, exact signatures, no edits, no vibes-based rewriting π₯
val traditional2revised : ('token -> 'raw_token) -> ('token ->
Lexing.position) -> ('token -> Lexing.position) -> ('raw_token,
'semantic_value) traditional -> ('token, 'semantic_value) revised
val revised2traditional : ('raw_token -> Lexing.position ->
Lexing.position -> 'token) -> ('token, 'semantic_value) revised ->
('raw_token, 'semantic_value) traditional
And finally:
module Simplified : sig end
So the whole Convert module is giving: traditional, revised, traditional2revised, revised2traditional, and a Simplified submodule that is sig end. That's the entire content, and every single piece of it is right here π
Source/version: OCamldoc β¨ Date: 2026-06-22 β¨ Page: CamlinternalMenhirLib.Convert(3) π Bye bestie, go have fun with those conversions π
π¦
π¦ where this page comes from
- arch rolling: ocaml 5.5.0-1 Β· LGPL2.1 AND custom: QPL-1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms