package ocaml-solo5

Build not yet checked
  1. Overview
  2. Docs
OCaml cross-compiler to the freestanding Solo5 backend

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v1.3.5.tar.gz
md5=ea2abfe4436990ed71c823b212c78a0f
sha512=a0b048a9fb97e8fb0902ba9e9f76818dd9a250001b8f35d08eb5df52f4e978aa74ea3fc149ad5270a595431b68e574adf97762954f5e2a0b3661490357737774

doc/compiler-libs.common/Misc/Style/index.html

Module Misc.Style

type color =
  1. | Black
  2. | Red
  3. | Green
  4. | Yellow
  5. | Blue
  6. | Magenta
  7. | Cyan
  8. | White
type style =
  1. | FG of color
  2. | BG of color
  3. | Bold
  4. | Reset
type Format.stag +=
  1. | Style of style list
val ansi_of_style_l : style list -> string
type tag_style = {
  1. ansi : style list;
  2. text_open : string;
  3. text_close : string;
}
type styles = {
  1. error : tag_style;
  2. warning : tag_style;
  3. loc : tag_style;
  4. hint : tag_style;
  5. inline_code : tag_style;
}
val hint : Format_doc.formatter -> unit
val as_inline_code : 'a Format_doc.printer -> 'a Format_doc.printer
val inline_code : string Format_doc.printer
val default_styles : styles
val get_styles : unit -> styles
val set_styles : styles -> unit
val setup : Color.setting option -> unit
val set_tag_handling : Format.formatter -> unit