aboutsummaryrefslogtreecommitdiffhomepage
path: root/kernel/safe_typing.mli
diff options
context:
space:
mode:
authorGravatar Matthieu Sozeau <matthieu.sozeau@inria.fr>2015-10-01 23:35:51 +0200
committerGravatar Matthieu Sozeau <mattam@mattam.org>2015-10-02 15:54:13 +0200
commit8860362de4a26286b0cb20cf4e02edc5209bdbd1 (patch)
treea9c80518d1894341c704f0cc81c8ccc8b43d970e /kernel/safe_typing.mli
parent4585baa53e7fa4c25e304b8136944748a7622e10 (diff)
Univs: Change intf of push_named_def to return the computed universe
context Let-bound definitions can be opaque but the whole universe context was not gathered to be discharged at section closing time.
Diffstat (limited to 'kernel/safe_typing.mli')
-rw-r--r--kernel/safe_typing.mli5
1 files changed, 4 insertions, 1 deletions
diff --git a/kernel/safe_typing.mli b/kernel/safe_typing.mli
index b971a1bd4..eac08eb83 100644
--- a/kernel/safe_typing.mli
+++ b/kernel/safe_typing.mli
@@ -59,8 +59,11 @@ val is_joined_environment : safe_environment -> bool
val push_named_assum :
(Id.t * Term.types * bool (* polymorphic *))
Univ.in_universe_context_set -> safe_transformer0
+
+(** Returns the full universe context necessary to typecheck the definition
+ (futures are forced) *)
val push_named_def :
- Id.t * Entries.definition_entry -> safe_transformer0
+ Id.t * Entries.definition_entry -> Univ.universe_context_set safe_transformer
(** Insertion of global axioms or definitions *)