package hxd

  1. Overview
  2. Docs

Module Hxd.FmtSource

Sourceval invalid_arg : ('a, Format.formatter, unit, 'b) format4 -> 'a
Sourceval style_renderer_of_raw : string -> [> `Ansi | `None ]
Sourceval style_renderer_to_raw : [< `Ansi | `None ] -> string
Sourceval style_renderer : Format.formatter -> [> `Ansi | `None ]
Sourceval set_style_renderer : Format.formatter -> [< `Ansi | `None ] -> unit
Sourceval ansi_style_reset : string
Sourcetype standard = [
  1. | `Black
  2. | `Red
  3. | `Green
  4. | `Yellow
  5. | `Blue
  6. | `Magenta
  7. | `Cyan
  8. | `White
]
Sourcetype bright = [
  1. | `Bright of standard
]
Sourcetype bit8 = [
  1. | `bit8 of int * int * int
]
Sourcetype bit24 = [
  1. | `bit24 of int * int * int
]
Sourcetype grayscale = [
  1. | `Grayscale of int
]
Sourcetype style = [
  1. | `None
  2. | `Style of [ `Fg | `Bg ] * [ standard | bright | bit8 | bit24 | grayscale ]
]
Sourcetype rest = [
  1. | standard
  2. | bright
  3. | bit8
  4. | grayscale
]
Sourceval 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
Sourceval 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 ] ] -> (Format.formatter -> 'a -> unit) -> Format.formatter -> 'a -> unit
Sourceval with_buffer : ?like:Format.formatter -> Buffer.t -> Format.formatter
Sourceval strf_like : Format.formatter -> ('a, Format.formatter, unit, string) format4 -> 'a
OCaml

Innovation. Community. Security.