aboutsummaryrefslogtreecommitdiff
path: root/engine/evd.ml
diff options
context:
space:
mode:
authorHugo Herbelin2020-10-31 14:34:17 +0100
committerHugo Herbelin2020-11-04 16:56:49 +0100
commit4814c482eb83f4c21b6ecf2b1b9235b513221181 (patch)
treef537790aeba33e55c98e6a3e0ef6cf503fc0197c /engine/evd.ml
parent78e600ac5f8aa9609cac4347c7a694428ae9d7cc (diff)
Factorizing UState.make* through UState.from_env, to highlight the similarity.
An alternative could also be to split the initialization of the environment and the declaration of initial "binders".
Diffstat (limited to 'engine/evd.ml')
-rw-r--r--engine/evd.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/evd.ml b/engine/evd.ml
index 0fb32e5150..498a9d9825 100644
--- a/engine/evd.ml
+++ b/engine/evd.ml
@@ -832,7 +832,7 @@ let empty = {
extras = Store.empty;
}
-let from_env e = { empty with universes = UState.from_env e }
+let from_env ?binders e = { empty with universes = UState.from_env ?binders e }
let from_ctx uctx = { empty with universes = uctx }