package lambdapi

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

lambdapi-2.2.0.tbz
sha256=920de48ec6c2c3223b6b93879bb65d07ea24aa27f7f7176b3de16e5e467b9939
sha512=135f132730825adeb084669222e68bc999de97b12378fae6abcd9f91ae13093eab29fa49c854adb28d064d52c9890c0f5c8ff9d47a9916f66fe5e0fba3479759

doc/lambdapi.common/Common/Console/State/index.html

Module Console.StateSource

Module to manipulate imperative state of the typechecker.

Sourcetype t = {
  1. verbose : int;
    (*

    Verbosity level.

    *)
  2. loggers : string;
    (*

    Loggers enabled.

    *)
  3. bflags : bool Lplib.Extra.StrMap.t;
    (*

    Boolean flags.

    *)
}

Settings used to compile files.

Sourceval saved : t list Timed.ref

Stack of saved state for verbosity, loggers and boolean flags.

Sourceval push : unit -> unit

push () saves the current state of verbose, the loggers, and the boolean flags, pushing it to the stack.

Sourceval apply : t -> unit

apply st restores the setting in st.

Sourceval pop : unit -> unit

pop () restores the settings saved by push_state, removing it from saved_state.