package stdune

  1. Overview
  2. Docs
Dune's unstable standard library

Install

Dune Dependency

Authors

Maintainers

Sources

dune-3.7.0.tbz
sha256=e2d637c9d080318fedf5e71d2a29fb367624f82ac4a26e83df2b3a03550528b8
sha512=586e47ee45cd53a8c13095bde0b47de99aad9462d0a52199362140b5b654ca862597fa9f27f729a8cc594684ac46858848f9fa76f8f06dc8dc8ab8b1186a3295

doc/stdune/Stdune/Ansi_color/index.html

Module Stdune.Ansi_colorSource

Sourcemodule Style : sig ... end
Sourceval make_printer : bool Lazy.t -> Format.formatter -> (Style.t list Pp.t -> unit) Staged.t
Sourceval print : Style.t list Pp.t -> unit

Print to Format.std_formatter

Sourceval prerr : Style.t list Pp.t -> unit

Print to Format.err_formatter

Sourceval stdout_supports_color : bool Lazy.t

Whether stdout/stderr support colors

Sourceval stderr_supports_color : bool Lazy.t
Sourceval output_is_a_tty : bool Lazy.t
Sourceval strip : string -> string

Filter out escape sequences in a string

Sourceval parse : string -> Style.t list Pp.t

Parse a string containing ANSI escape sequences

OCaml

Innovation. Community. Security.