aboutsummaryrefslogtreecommitdiff
path: root/kernel/environ.ml
diff options
context:
space:
mode:
authorherbelin2000-05-22 13:10:03 +0000
committerherbelin2000-05-22 13:10:03 +0000
commitf9031792f714bb468c2dc8bfb49f34cfef44b27a (patch)
tree7d67852c2ec622df3520ef08a71a63e9d55b2fd9 /kernel/environ.ml
parent2476b8a3397dccc8cadd7422929c844040ecc987 (diff)
Suite restructuration inductifs; changement nom module Constant en Declarations
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@458 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'kernel/environ.ml')
-rw-r--r--kernel/environ.ml8
1 files changed, 3 insertions, 5 deletions
diff --git a/kernel/environ.ml b/kernel/environ.ml
index 16284de7b2..4f9d4e957e 100644
--- a/kernel/environ.ml
+++ b/kernel/environ.ml
@@ -8,7 +8,7 @@ open Sign
open Univ
open Generic
open Term
-open Constant
+open Declarations
open Abstraction
(* The type of environments. *)
@@ -212,13 +212,11 @@ let abst_value env = function
| _ -> invalid_arg "abst_value"
let defined_constant env = function
- | DOPN (Const sp, _) ->
- Constant.is_defined (lookup_constant sp env)
+ | DOPN (Const sp, _) -> is_defined (lookup_constant sp env)
| _ -> invalid_arg "defined_constant"
let opaque_constant env = function
- | DOPN (Const sp, _) ->
- Constant.is_opaque (lookup_constant sp env)
+ | DOPN (Const sp, _) -> is_opaque (lookup_constant sp env)
| _ -> invalid_arg "opaque_constant"
(* A const is evaluable if it is defined and not opaque *)