Module Ocamlformat_lib.Fmt

type t
type sp =
  1. | Blank
  2. | Cut
  3. | Space
  4. | Break of Ocamlformat_stdlib.int * Ocamlformat_stdlib.int
val sp : sp -> t
val ($) : t -> t -> t
val sequence : t Ocamlformat_stdlib.list -> t
val (>$) : t -> ('b -> t) -> 'b -> t
val lazy_ : (Ocamlformat_stdlib.unit -> t) -> t
val set_margin : Ocamlformat_stdlib.int -> t
val protect : t -> on_error:(Ocamlformat_stdlib.exn -> Ocamlformat_stdlib.unit) -> t
val noop : t
val fmt : s -> t
val opt : 'a Ocamlformat_stdlib.option -> ('a -> t) -> t
val list : 'a Ocamlformat_stdlib.list -> s -> ('a -> t) -> t
val list_fl : 'a Ocamlformat_stdlib.list -> (first:Ocamlformat_stdlib.bool -> last:Ocamlformat_stdlib.bool -> 'a -> t) -> t
val list_pn : 'a Ocamlformat_stdlib.list -> (prev:'a Ocamlformat_stdlib.option -> 'a -> next:'a Ocamlformat_stdlib.option -> t) -> t
val list_k : 'a Ocamlformat_stdlib.list -> t -> ('a -> t) -> t
val fmt_if : Ocamlformat_stdlib.bool -> s -> t
val fmt_if_k : Ocamlformat_stdlib.bool -> t -> t
val fmt_or : Ocamlformat_stdlib.bool -> s -> s -> t
val fmt_or_k : Ocamlformat_stdlib.bool -> t -> t -> t
val fmt_opt : t Ocamlformat_stdlib.option -> t
val if_newline : Ocamlformat_stdlib.string -> t
val break_unless_newline : Ocamlformat_stdlib.int -> Ocamlformat_stdlib.int -> t
type behavior =
  1. | Fit
  2. | Break
val wrap : s -> s -> t -> t
val wrap_k : t -> t -> t -> t
val wrap_if : Ocamlformat_stdlib.bool -> s -> s -> t -> t
val wrap_if_k : Ocamlformat_stdlib.bool -> t -> t -> t -> t
val with_box_debug : t -> t
val open_hovbox : ?name:Ocamlformat_stdlib.string -> Ocamlformat_stdlib.int -> t
val close_box : t