Module Bos_setup.Fmt

include module type of sig ... end
val stdout : Stdlib.Format.formatter
val stderr : Stdlib.Format.formatter
val pf : Stdlib.Format.formatter -> ('aStdlib.Format.formatter, unit) Stdlib.format -> 'a
val pr : ('aStdlib.Format.formatter, unit) Stdlib.format -> 'a
val epr : ('aStdlib.Format.formatter, unit) Stdlib.format -> 'a
val strf : ('aStdlib.Format.formatter, unit, string) Stdlib.format4 -> 'a
val kpf : (Stdlib.Format.formatter -> 'a) -> Stdlib.Format.formatter -> ('bStdlib.Format.formatter, unit, 'a) Stdlib.format4 -> 'b
val kstrf : (string -> 'a) -> ('bStdlib.Format.formatter, unit, 'a) Stdlib.format4 -> 'b
val strf_like : Stdlib.Format.formatter -> ('aStdlib.Format.formatter, unit, string) Stdlib.format4 -> 'a
val with_buffer : ?⁠like:Stdlib.Format.formatter -> Stdlib.Buffer.t -> Stdlib.Format.formatter
val failwith : ('aStdlib.Format.formatter, unit, 'b) Stdlib.format4 -> 'a
val invalid_arg : ('aStdlib.Format.formatter, unit, 'b) Stdlib.format4 -> 'a
type 'a t = Stdlib.Format.formatter -> 'a -> unit
val nop : 'a t
val cut : unit t
val sp : unit t
val comma : unit t
val const : 'a t -> 'a -> unit t
val unit : (unit, Stdlib.Format.formatter, unit) Stdlib.format -> unit t
val fmt : ('aStdlib.Format.formatter, unit) Stdlib.format -> Stdlib.Format.formatter -> 'a
val always : (unit, Stdlib.Format.formatter, unit) Stdlib.format -> 'a t
val bool : bool t
val int : int t
val nativeint : nativeint t
val int32 : int32 t
val int64 : int64 t
val uint : int t
val unativeint : nativeint t
val uint32 : int32 t
val uint64 : int64 t
val float : float t
val float_dfrac : int -> float t
val float_dsig : int -> float t
val char : char t
val string : string t
val buffer : Stdlib.Buffer.t t
val exn : exn t
val exn_backtrace : (exn * Stdlib.Printexc.raw_backtrace) t
val pair : ?⁠sep:unit t -> 'a t -> 'b t -> ('a * 'b) t
val option : ?⁠none:unit t -> 'a t -> 'a option t
val result : ok:'a t -> error:'b t -> ('a'b) Stdlib.result t
val list : ?⁠sep:unit t -> 'a t -> 'a list t
val array : ?⁠sep:unit t -> 'a t -> 'a array t
val seq : ?⁠sep:unit t -> 'a t -> 'a Stdlib.Seq.t t
val hashtbl : ?⁠sep:unit t -> ('a * 'b) t -> ('a'b) Stdlib.Hashtbl.t t
val queue : ?⁠sep:unit t -> 'a t -> 'a Stdlib.Queue.t t
val stack : ?⁠sep:unit t -> 'a t -> 'a Stdlib.Stack.t t
val iter : ?⁠sep:unit t -> (('a -> unit) -> 'b -> unit) -> 'a t -> 'b t
val iter_bindings : ?⁠sep:unit t -> (('a -> 'b -> unit) -> 'c -> unit) -> ('a * 'b) t -> 'c t
val using : ('a -> 'b) -> 'b t -> 'a t
module Dump = Fmt.Dump
val box : ?⁠indent:int -> 'a t -> 'a t
val hbox : 'a t -> 'a t
val vbox : ?⁠indent:int -> 'a t -> 'a t
val hvbox : ?⁠indent:int -> 'a t -> 'a t
val parens : 'a t -> 'a t
val brackets : 'a t -> 'a t
val braces : 'a t -> 'a t
val quote : ?⁠mark:string -> 'a t -> 'a t
val words : string t
val paragraphs : string t
val text : string t
val lines : string t
val text_loc : ((int * int) * (int * int)) t
val append : 'a t -> 'b t -> ('a * 'b) t
val prefix : unit t -> 'a t -> 'a t
val suffix : unit t -> 'a t -> 'a t
val byte_size : int t
val bi_byte_size : int t
val if_utf_8 : 'a t -> 'a t -> 'a t
val utf_8 : Stdlib.Format.formatter -> bool
val set_utf_8 : Stdlib.Format.formatter -> bool -> unit
type style = [
| `Black
| `Blue
| `Bold
| `Cyan
| `Green
| `Magenta
| `None
| `Red
| `Underline
| `White
| `Yellow
]
val styled : style -> 'a t -> 'a t
val styled_unit : style -> (unit, Stdlib.Format.formatter, unit) Stdlib.format -> unit t
type style_renderer = [
| `Ansi_tty
| `None
]
val style_renderer : Stdlib.Format.formatter -> style_renderer
val set_style_renderer : Stdlib.Format.formatter -> style_renderer -> unit
val of_to_string : ('a -> string) -> 'a t
val to_to_string : 'a t -> 'a -> string