package lambdapi

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

lambdapi-3.0.0.tbz
sha256=1066aed2618fd8e6a400c5147dbf55ea977ce8d3fe2e518ac6785c6775a1b8be
sha512=f7f499626aba92e070ae69581299a58525973fdbfd04a160ed3ac89209fb6cbe307b816d0b23e1b75bc83467ce8b4b0530c6f9816eaf58f7a07fde65a450106c

doc/lambdapi.common/Common/Logger/index.html

Module Common.LoggerSource

Functions for creating loggers. *

Sourceval log_enabled : unit -> bool

log_enabled is the cached result of whether there exists an enabled logging function. Its main use is to guard logging operations to avoid performing unnecessary computations.

Sourcetype logger_pp = {
  1. pp : 'a. 'a Lplib.Base.outfmt -> 'a;
}

Type of a logging function. It needs to be boxed for higher-rank polymorphism reasons

Sourceval make : char -> string -> string -> logger_pp

make key name desc registers a new logger and returns its pp.

Sourceval set_debug : bool -> string -> unit

set_debug value key enables or disables the loggers corresponding to every character of str according to value.

Sourceval set_default_debug : string -> unit

set_default_debug str declares the debug flags of str to be enabled by default.

Sourceval get_activated_loggers : unit -> string

get_activated_loggers () fetches the list of activated loggers, listed in a string

Sourceval reset_loggers : ?default:string -> unit -> unit

reset_loggers () resets the debug flags to those by default.

Sourceval log_summary : unit -> (char * string) list

log_summary () gives the keys and descriptions for logging options.

Sourceval set_debug_in : bool -> char -> ('a -> 'b) -> 'a -> 'b

set_debug_in b c f x sets c logger to b for evaluating f x.

OCaml

Innovation. Community. Security.