-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathprinting.mli
39 lines (26 loc) · 1 KB
/
printing.mli
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
(* Auxiliary functions for printing *)
open Names
open Constr
open Environ
open Evd
(* --- Coq terms --- *)
(* Pretty-print a `global_reference` with fancy `constr` coloring. *)
val pr_global_as_constr : global_reference -> Pp.t
(* Gets a name as a string *)
val name_as_string : Name.t -> string
(* Gets a term as a string in an environment *)
val term_as_string : env -> types -> string
(* --- Coq environments --- *)
(* Gets an environment as a string *)
val env_as_string : env -> string
(* --- Debugging --- *)
(* Print a separator string *)
val print_separator : unit -> unit
(* Debug a term with a descriptor string *)
val debug_term : env -> types -> string -> unit
(* Debug a list of terms with a descriptor string *)
val debug_terms : env -> types list -> string -> unit
(* Debug an environment with a descriptor string *)
val debug_env : env -> string -> unit
(* Print a patch to stdout in the standard Coq format (TODO rename or move) *)
val print_patch : env -> evar_map -> string -> types -> unit