Module Flags
Global options of the system.
val async_proofs_is_worker : unit -> boolval load_vos_libraries : bool Stdlib.refFlag to indicate that .vos files should be loaded for dependencies instead of .vo files. Used by -vos and -vok options.
val in_debugger : bool Stdlib.refval in_toplevel : bool Stdlib.refval in_synterp_phase : bool Stdlib.refval raw_print : bool Stdlib.refval beautify : bool Stdlib.refval beautify_file : bool Stdlib.refval quiet : bool Stdlib.refval silently : ('a -> 'b) -> 'a -> 'bval verbosely : ('a -> 'b) -> 'a -> 'bval if_silent : ('a -> unit) -> 'a -> unitval if_verbose : ('a -> unit) -> 'a -> unitval warn : bool Stdlib.refval make_warn : bool -> unitval if_warn : ('a -> unit) -> 'a -> unitval with_modified_ref : 'c Stdlib.ref -> ('c -> 'c) -> ('a -> 'b) -> 'a -> 'bwith_modified_ref r nf f xTemporarily modify a reference in the call tof x. Be very careful with these functions, it is very easy to fall in the typical problem with effects:with_modified_ref r nf f x y != with_modified_ref r nf (f x) y
val with_option : bool Stdlib.ref -> ('a -> 'b) -> 'a -> 'bTemporarily activate an option (to activate option
oonf x y z, usewith_option o (f x y) z)
val with_options : bool Stdlib.ref list -> ('a -> 'b) -> 'a -> 'bAs
with_option, but on several flags.
val with_extra_values : 'c list Stdlib.ref -> 'c list -> ('a -> 'b) -> 'a -> 'bTemporarily extends the reference to a list