You can search for identifiers within the package.
in-package search v0.2.0
val color : bool Stdlib.ref
color tells whether colors can be used in the output.
color
type color =
| Red
| Gre
| Yel
| Blu
| Mag
| Cya
Format transformers (colors).
type Stdlib.Format.stag +=
| Color of color
val color_code : color -> string
val string_of_color : color -> string
val color_of_string : string -> color
val mark_open_stag : (Stdlib.Format.stag -> string) -> Stdlib.Format.stag -> string
val mark_close_stag : (Stdlib.Format.stag -> string) -> Stdlib.Format.stag -> string
val update_with_color : Stdlib.Format.formatter -> unit
val colorize : color -> ('a, 'b, 'c, 'd, 'e, 'f) Stdlib.format6 -> ('a, 'b, 'c, 'd, 'e, 'f) Stdlib.format6
val pp_color : ((('a -> 'b -> 'c) -> 'b -> 'c, 'a, 'c) Stdlib.format -> ('d -> 'e, Stdlib.Format.formatter, unit) Stdlib.format) -> 'd -> Stdlib.Format.formatter -> 'e
val red : ('a, 'b, 'c, 'd, 'e, 'f) Stdlib.format6 -> ('a, 'b, 'c, 'd, 'e, 'f) Stdlib.format6
val gre : ('a, 'b, 'c, 'd, 'e, 'f) Stdlib.format6 -> ('a, 'b, 'c, 'd, 'e, 'f) Stdlib.format6
val yel : ('a, 'b, 'c, 'd, 'e, 'f) Stdlib.format6 -> ('a, 'b, 'c, 'd, 'e, 'f) Stdlib.format6
val blu : ('a, 'b, 'c, 'd, 'e, 'f) Stdlib.format6 -> ('a, 'b, 'c, 'd, 'e, 'f) Stdlib.format6
val mag : ('a, 'b, 'c, 'd, 'e, 'f) Stdlib.format6 -> ('a, 'b, 'c, 'd, 'e, 'f) Stdlib.format6
val cya : ('a, 'b, 'c, 'd, 'e, 'f) Stdlib.format6 -> ('a, 'b, 'c, 'd, 'e, 'f) Stdlib.format6
val g_or_r : bool -> ('a, 'b, 'c, 'd, 'e, 'f) Stdlib.format6 -> ('a, 'b, 'c, 'd, 'e, 'f) Stdlib.format6
g_or_r cond fmt colors the format fmt in green if cond is true and in red otherwise.
g_or_r cond fmt
fmt
cond
true