aboutsummaryrefslogtreecommitdiffhomepage
path: root/kernel/constant.ml
diff options
context:
space:
mode:
authorGravatar filliatr <filliatr@85f007b7-540e-0410-9357-904b9bb8a0f7>1999-08-26 16:26:54 +0000
committerGravatar filliatr <filliatr@85f007b7-540e-0410-9357-904b9bb8a0f7>1999-08-26 16:26:54 +0000
commitdd279791aca531cd0f38ce79b675c68e08a4ff63 (patch)
tree32115bf156935bcb902d50fe3222e818ed692a1f /kernel/constant.ml
parent15ed739c91a22e91ae88d54215f6862fc1074a88 (diff)
environnement sur
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@28 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'kernel/constant.ml')
-rw-r--r--kernel/constant.ml8
1 files changed, 5 insertions, 3 deletions
diff --git a/kernel/constant.ml b/kernel/constant.ml
index 0b52af695..766fbb735 100644
--- a/kernel/constant.ml
+++ b/kernel/constant.ml
@@ -16,17 +16,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
-
let is_defined cb =
match cb.const_body with Some _ -> true | _ -> false