Pprintast.Doc(3)
π NAME π
okay so this is Pprintast.Doc(3) from the OCaml library, and its whole NAME situation is Pprintast.Doc β literally Format_doc functions for error messages β¨ periodt.
π Module π
Module Pprintast.Doc β that's the main character right there π
πΈ Documentation πΈ
so under the docs we've got Module Doc, and its signature is exactly : sig end β yes bestie, that's the whole vibe π«Ά
It's giving Format_doc functions for error messages π
Here are the vals, no skips, no cap:
val longident : Longident.t Format_doc.printerβ iconic printer signature, exactly as written β¨val constr : Longident.t Format_doc.printerβ same printer energy, different val name πval tyvar : string Format_doc.printerβ yup, a printer forstring, slay πΈval nominal_exp : Parsetree.expression -> Format_doc.t optionβ Returns a format document if the expression reads nicely as the subject of a sentence in an error message. like, it only shows up when the expression is serving main-character sentence energy ππ
this iconic little page was brought to you by OCamldoc on 2026-06-22, and the manual itself is Pprintast.Doc(3) β periodt, go off π
π«Άπ₯
π¦ 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