package lambdapi

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

Install

Dune Dependency

Authors

Maintainers

Sources

lambdapi-2.6.0.tbz
sha256=d01e5f13db2eaba6e4fe330667149e0059d4886c651ff9d6b672db2dfc9765ed
sha512=33b68c972aca37985ed73c527076198e7d4961c7e27c89cdabfe4d1cff97cd41ccfb85ae9499eb98ad9a0aefd920bc55555df6393fc441ac2429e4d99cddafa8

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.