aboutsummaryrefslogtreecommitdiff
path: root/proofs/clenv.mli
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2020-12-11 21:09:11 +0100
committerPierre-Marie Pédrot2020-12-14 09:54:46 +0100
commit161b7b47f7f87c33f1fa6269248d5f8b6b4926d9 (patch)
tree0aae961fb08b8c59ace1cd906dea0b930a297b85 /proofs/clenv.mli
parent981146bbc716494ba9ced0d6b403923b293cdec1 (diff)
Make the clenv type private and provide a creation function.
Diffstat (limited to 'proofs/clenv.mli')
-rw-r--r--proofs/clenv.mli4
1 files changed, 3 insertions, 1 deletions
diff --git a/proofs/clenv.mli b/proofs/clenv.mli
index a72c8c5e1f..bfdc5cdd8c 100644
--- a/proofs/clenv.mli
+++ b/proofs/clenv.mli
@@ -22,7 +22,7 @@ open Tactypes
(** {6 The Type of Constructions clausale environments.} *)
-type clausenv = {
+type clausenv = private {
env : env; (** the typing context *)
evd : evar_map; (** the mapping from metavar and evar numbers to their
types and values *)
@@ -30,6 +30,8 @@ type clausenv = {
out *)
templtyp : constr freelisted (** its type *)}
+val mk_clausenv : env -> evar_map -> constr freelisted -> types freelisted -> clausenv
+val update_clenv_evd : clausenv -> evar_map -> clausenv
(** subject of clenv (instantiated) *)
val clenv_value : clausenv -> constr