package lambda-term

  1. Overview
  2. Docs
type color = private
  1. | Default
  2. | Index of int
  3. | RGB of int * int * int
val default : color
val index : int -> color
val rgb : int -> int -> int -> color
val black : color
val red : color
val green : color
val yellow : color
val blue : color
val magenta : color
val cyan : color
val white : color
val lblack : color
val lred : color
val lgreen : color
val lyellow : color
val lblue : color
val lmagenta : color
val lcyan : color
val lwhite : color
type t = {
  1. bold : bool option;
  2. underline : bool option;
  3. reverse : bool option;
  4. foreground : color option;
  5. background : color option;
}
val bold : t -> bool option
val underline : t -> bool option
val reverse : t -> bool option
val foreground : t -> color option
val background : t -> color option
val none : t
val merge : t -> t -> t
val equal : t -> t -> bool
OCaml

Innovation. Community. Security.