Internal_pervasives.More_fmt
Little experiment for fun …
include module type of struct include Fmt end
val flush : 'a t
val nop : 'a t
val any : (unit, Stdlib.Format.formatter, unit) Stdlib.format -> 'a t
val cut : 'a t
val sp : 'a t
val sps : int -> 'a t
val comma : 'a t
val semi : '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 si_size : scale:int -> string -> int t
val byte_size : int t
val bi_byte_size : int t
val uint64_ns_span : int64 t
val words : string t
val paragraphs : string t
val text : string t
val lines : string t
val truncated : max:int -> string t
val text_loc : ((int * int) * (int * int)) t
type style = [
|
`Bg of
[ `Black
| `Blue
| `Cyan
| `Green
| `Hi of color
| `Magenta
| `Red
| `White
| `Yellow ]
|
`Black
|
`Blue
|
`Bold
|
`Cyan
|
`Faint
|
`Fg of
[ `Black
| `Blue
| `Cyan
| `Green
| `Hi of color
| `Magenta
| `Red
| `White
| `Yellow ]
|
`Green
|
`Italic
|
`Magenta
|
`None
|
`Red
|
`Reverse
|
`Underline
|
`White
|
`Yellow
]
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
val strf_like :
Stdlib.Format.formatter ->
('a, Stdlib.Format.formatter, unit, string) Stdlib.format4 ->
'a
val always : (unit, Stdlib.Format.formatter, unit) Stdlib.format -> 'a t
val unit : (unit, Stdlib.Format.formatter, unit) Stdlib.format -> unit t
val tag :
Stdlib.Format.tag ->
Stdlib.Format.formatter ->
(Stdlib.Format.formatter -> unit) ->
unit
val shout :
Stdlib.Format.formatter ->
(Stdlib.Format.formatter -> unit) ->
unit
val prompt :
Stdlib.Format.formatter ->
(Stdlib.Format.formatter -> unit) ->
unit