package pprint

  1. Overview
  2. Docs
type document = PPrintEngine.document
val empty : document
val char : char -> document
val string : string -> document
val substring : string -> int -> int -> document
val fancystring : string -> int -> document
val fancysubstring : string -> int -> int -> int -> document
val utf8string : string -> document
val hardline : document
val blank : int -> document
val break : int -> document
val (^^) : document -> document -> document
val nest : int -> document -> document
val group : document -> document
val column : (int -> document) -> document
val nesting : (int -> document) -> document
val ifflat : document -> document -> document
module ToChannel = PPrintEngine.ToChannel
module ToBuffer = PPrintEngine.ToBuffer
module ToFormatter = PPrintEngine.ToFormatter
val lbracket : PPrintEngine.document
val rbracket : PPrintEngine.document
val backslash : PPrintEngine.document
val percent : PPrintEngine.document
val ampersand : PPrintEngine.document
val underscore : PPrintEngine.document
val concat_map : ('a -> PPrintEngine.document) -> 'a list -> PPrintEngine.document
val separate_map : PPrintEngine.document -> ('a -> PPrintEngine.document) -> 'a list -> PPrintEngine.document
val optional : ('a -> PPrintEngine.document) -> 'a option -> PPrintEngine.document
val lines : string -> PPrintEngine.document list
val arbitrary_string : string -> PPrintEngine.document
val words : string -> PPrintEngine.document list
val split : (char -> bool) -> string -> PPrintEngine.document list
val url : string -> PPrintEngine.document
val jump : int -> int -> PPrintEngine.document -> PPrintEngine.document
val (!^) : string -> PPrintEngine.document
module OCaml = PPrintOCaml
OCaml

Innovation. Community. Security.