package treeprint

  1. Overview
  2. Docs
type ppr = Treeprint__Parenthesize.assoc -> float -> OTree.t
type parens = OTree.t -> OTree.t
val left : ppr -> ppr
val right : ppr -> ppr
val noassoc : ppr -> ppr
val level : float -> ppr -> ppr
val reset : ppr -> ppr
val maybe_parens : parens -> Treeprint__Parenthesize.assoc -> float -> ppr -> ppr
val atom : OTree.t -> ppr
val binop : parens -> (OTree.t -> OTree.t -> OTree.t) -> Treeprint__Parenthesize.assoc -> float -> ppr -> ppr -> ppr
val list : parens -> (OTree.t list -> OTree.t) -> float -> ppr list -> ppr
val prefix : parens -> (OTree.t -> OTree.t) -> float -> ppr -> ppr
val postfix : parens -> (OTree.t -> OTree.t) -> float -> ppr -> ppr
val parens : parens -> ppr -> ppr
OCaml

Innovation. Community. Security.