package lambdapi

  1. Overview
  2. Docs
Proof assistant for the λΠ-calculus modulo rewriting

Install

Dune Dependency

Authors

Maintainers

Sources

lambdapi-2.5.0.tbz
sha256=9bc8ae3694dd51bd5742e7aba760bd2878c4b0e5ef9b3d4a7b06f3cd303b611d
sha512=c812c3129b3d85b0c4d7e741d11137dbb4fe2a0aaba3a5968409080b742924ecb506280c19ad83ef6bc910346db96d87780313fa7683c29345edae16ae79c704

doc/lambdapi.lplib/Lplib/Color/index.html

Module Lplib.ColorSource

Sourceval color : bool ref

color tells whether colors can be used in the output.

Sourcetype color =
  1. | Red
  2. | Gre
  3. | Yel
  4. | Blu
  5. | Mag
  6. | Cya

Format transformers (colors).

Sourcetype Format.stag +=
  1. | Color of color
Sourceval color_code : color -> string
Sourceval string_of_color : color -> string
Sourceval color_of_string : string -> color
Sourceval mark_open_stag : (Format.stag -> string) -> Format.stag -> string
Sourceval mark_close_stag : (Format.stag -> string) -> Format.stag -> string
Sourceval update_with_color : Format.formatter -> unit
Sourceval colorize : color -> ('a, 'b, 'c, 'd, 'e, 'f) format6 -> ('a, 'b, 'c, 'd, 'e, 'f) format6
Sourceval pp : ((('a -> 'b -> 'c) -> 'b -> 'c, 'a, 'c) format -> ('d -> 'e, Format.formatter, unit) format) -> 'd -> Format.formatter -> 'e
Sourceval red : ('a, 'b, 'c, 'd, 'e, 'f) format6 -> ('a, 'b, 'c, 'd, 'e, 'f) format6
Sourceval gre : ('a, 'b, 'c, 'd, 'e, 'f) format6 -> ('a, 'b, 'c, 'd, 'e, 'f) format6
Sourceval yel : ('a, 'b, 'c, 'd, 'e, 'f) format6 -> ('a, 'b, 'c, 'd, 'e, 'f) format6
Sourceval blu : ('a, 'b, 'c, 'd, 'e, 'f) format6 -> ('a, 'b, 'c, 'd, 'e, 'f) format6
Sourceval mag : ('a, 'b, 'c, 'd, 'e, 'f) format6 -> ('a, 'b, 'c, 'd, 'e, 'f) format6
Sourceval cya : ('a, 'b, 'c, 'd, 'e, 'f) format6 -> ('a, 'b, 'c, 'd, 'e, 'f) format6
Sourceval g_or_r : bool -> ('a, 'b, 'c, 'd, 'e, 'f) format6 -> ('a, 'b, 'c, 'd, 'e, 'f) format6

g_or_r cond fmt colors the format fmt in green if cond is true and in red otherwise.

OCaml

Innovation. Community. Security.