aboutsummaryrefslogtreecommitdiff
path: root/kernel/term.mli
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/term.mli')
-rw-r--r--kernel/term.mli4
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/term.mli b/kernel/term.mli
index bbd02b6e60..e3f6b44635 100644
--- a/kernel/term.mli
+++ b/kernel/term.mli
@@ -463,6 +463,10 @@ val subst1_decl : constr -> named_declaration -> named_declaration
(* [global_vars c] returns the list of [id]'s occurring as [VAR id] in [c] *)
val global_vars : constr -> identifier list
+(* [global_vars_decl d] returns the list of [id]'s occurring as [VAR
+ id] in declaration [d] (type and body if any) *)
+val global_vars_decl : named_declaration -> identifier list
+
val global_vars_set : constr -> Idset.t
val replace_vars : (identifier * constr) list -> constr -> constr
val subst_var : identifier -> constr -> constr