aboutsummaryrefslogtreecommitdiff
path: root/kernel/constant.mli
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/constant.mli')
-rw-r--r--kernel/constant.mli8
1 files changed, 5 insertions, 3 deletions
diff --git a/kernel/constant.mli b/kernel/constant.mli
index 60607cef25..d33dc5a859 100644
--- a/kernel/constant.mli
+++ b/kernel/constant.mli
@@ -11,17 +11,19 @@ type recipe =
| Cooked of constr
| Recipe of discharge_recipe
+type constant_entry = {
+ const_entry_body : constr;
+ const_entry_type : constr }
+
type constant_body = {
const_kind : path_kind;
const_body : recipe ref option;
const_type : typed_type;
- const_hyps : context;
+ const_hyps : typed_type signature;
mutable const_opaque : bool;
mutable const_eval : ((int * constr) list * int * bool) option option;
}
-type constant_entry = section_path * constant_body
-
val is_defined : constant_body -> bool
val is_opaque : constant_body -> bool