package lambdapi
Module Console.StateSource
Module to manipulate imperative state of the typechecker.
Source
type t = {verbose : int;(*Verbosity level.
*)loggers : string;(*Loggers enabled.
*)bflags : bool Lplib.Extra.StrMap.t;(*Boolean flags.
*)
}Settings used to compile files.
push () saves the current state of verbose, the loggers, and the boolean flags, pushing it to the stack.
pop () restores the settings saved by push_state, removing it from saved_state.