package pplumbing

  1. Overview
  2. Docs

Module Pp_tty.StyleSource

Symbolic styles that can be used inside messages. These styles are later converted to actual concrete styles depending on the output device. For instance, when printed to the terminal they are converted to ansi terminal styles (Ansi_color.Style.t list values).

Sourcetype t = Stdune.User_message.Style.t =
  1. | Loc
  2. | Error
  3. | Warning
  4. | Kwd
  5. | Id
  6. | Prompt
  7. | Hint
  8. | Details
  9. | Ok
  10. | Debug
  11. | Success
  12. | Ansi_styles of Ansi_color.Style.t list
Sourceval to_dyn : t -> Dyn.t
Sourceval compare : t -> t -> Ordering.t
OCaml

Innovation. Community. Security.