package ocaml-compiler

  1. Overview
  2. Docs

doc/compiler-libs.common/Pprintast/Doc/index.html

Module Pprintast.Doc

Format_doc functions for error messages

val tyvar : string Format_doc.printer
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 a error message.

OCaml

Innovation. Community. Security.