package hxd

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val invalid_arg : ('a, Stdlib.Format.formatter, unit, 'b) Stdlib.format4 -> 'c
val style_renderer_of_raw : string -> [> `Ansi | `None ]
val style_renderer_to_raw : [< `Ansi | `None ] -> string
val style_renderer : Stdlib.Format.formatter -> [> `Ansi | `None ]
val set_style_renderer : Stdlib.Format.formatter -> [< `Ansi | `None ] -> unit
val ansi_style_reset : string
type standard = [
  1. | `Black
  2. | `Red
  3. | `Green
  4. | `Yellow
  5. | `Blue
  6. | `Magenta
  7. | `Cyan
  8. | `White
]
type bright = [
  1. | `Bright of standard
]
type bit8 = [
  1. | `bit8 of int * int * int
]
type bit24 = [
  1. | `bit24 of int * int * int
]
type grayscale = [
  1. | `Grayscale of int
]
type style = [
  1. | `None
  2. | `Style of [ `Fg | `Bg ] * [ standard | bright | bit8 | bit24 | grayscale ]
]
type rest = [
  1. | standard
  2. | bright
  3. | bit8
  4. | grayscale
]
val ansi_style_code : [< `None | `Style of [< `Bg | `Fg ] * [< `Black | `Blue | `Bright of standard | `Cyan | `Grayscale of int | `Green | `Magenta | `Red | `White | `Yellow | `bit24 of int * int * int | `bit8 of int * int * int ] ] -> string
val styled : [< `None | `Style of [< `Bg | `Fg ] * [< `Black | `Blue | `Bright of standard | `Cyan | `Grayscale of int | `Green | `Magenta | `Red | `White | `Yellow | `bit24 of int * int * int | `bit8 of int * int * int ] ] -> (Stdlib.Format.formatter -> 'a -> unit) -> Stdlib.Format.formatter -> 'b -> unit
val with_buffer : ?like:Stdlib.Format.formatter -> Stdlib.Buffer.t -> Stdlib.Format.formatter
val strf_like : Stdlib.Format.formatter -> ('a, Stdlib.Format.formatter, unit, string) Stdlib.format4 -> 'b