package ocamlformat-lib

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val css : string
val debug : bool Ocamlformat_stdlib.ref
val box_open : ?name:string -> string -> int -> Format_.formatter -> unit
val box_close : Format_.formatter -> unit
val break : Format_.formatter -> int -> int -> unit
val pp_keyword : Format_.formatter -> string -> unit
val _format_string : 'a 'b 'c 'd 'e 'f. Format_.formatter -> ('a, 'b, 'c, 'd, 'e, 'f) CamlinternalFormatBasics.fmt -> Ocamlformat_stdlib.unit
val fmt : Format_.formatter -> ('a, 'b, 'c, 'd, 'e, 'f) CamlinternalFormatBasics.format6 -> bool

Returns a boolean to signal the caller not to render the format string again.

val cbreak : Format_.formatter -> fits:(string * int * string) -> breaks:(string * int * string) -> unit
val if_newline : Format_.formatter -> string -> unit
val break_unless_newline : Format_.formatter -> int -> int -> unit
val fits_or_breaks : Format_.formatter -> string -> int -> int -> string -> unit
OCaml

Innovation. Community. Security.