diff options
| author | filliatr | 1999-10-08 08:18:57 +0000 |
|---|---|---|
| committer | filliatr | 1999-10-08 08:18:57 +0000 |
| commit | fd28f10096f82ef133bbf10512c8bee617b6b8b3 (patch) | |
| tree | 96892fb5b66038cef8ca48b0cc3f0383e38fc9a5 /kernel/environ.mli | |
| parent | 610caabdaac2f9ca635737839f645cc870d83975 (diff) | |
deplacements des var. ex. hors du noyau
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@93 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'kernel/environ.mli')
| -rw-r--r-- | kernel/environ.mli | 61 |
1 files changed, 27 insertions, 34 deletions
diff --git a/kernel/environ.mli b/kernel/environ.mli index 4d979f0dc7..c611fea0b8 100644 --- a/kernel/environ.mli +++ b/kernel/environ.mli @@ -7,7 +7,6 @@ open Term open Constant open Inductive open Abstraction -open Evd open Univ open Sign (*i*) @@ -17,56 +16,50 @@ open Sign informations added in environments, and that is what we speak here of ``unsafe'' environments. *) -type 'a unsafe_env +type unsafe_env -val empty_env : 'a unsafe_env +val empty_env : unsafe_env -val evar_map : 'a unsafe_env -> 'a evar_map -val universes : 'a unsafe_env -> universes -val metamap : 'a unsafe_env -> (int * constr) list -val context : 'a unsafe_env -> context +val universes : unsafe_env -> universes +val context : unsafe_env -> context -val push_var : identifier * typed_type -> 'a unsafe_env -> 'a unsafe_env -val push_rel : name * typed_type -> 'a unsafe_env -> 'a unsafe_env -val set_universes : universes -> 'a unsafe_env -> 'a unsafe_env -val add_constraints : constraints -> 'a unsafe_env -> 'a unsafe_env +val push_var : identifier * typed_type -> unsafe_env -> unsafe_env +val push_rel : name * typed_type -> unsafe_env -> unsafe_env +val set_universes : universes -> unsafe_env -> unsafe_env +val add_constraints : constraints -> unsafe_env -> unsafe_env val add_constant : - section_path -> constant_body -> 'a unsafe_env -> 'a unsafe_env + section_path -> constant_body -> unsafe_env -> unsafe_env val add_mind : - section_path -> mutual_inductive_body -> 'a unsafe_env -> 'a unsafe_env + section_path -> mutual_inductive_body -> unsafe_env -> unsafe_env val add_abstraction : - section_path -> abstraction_body -> 'a unsafe_env -> 'a unsafe_env + section_path -> abstraction_body -> unsafe_env -> unsafe_env val new_meta : unit -> int -val lookup_var : identifier -> 'a unsafe_env -> name * typed_type -val lookup_rel : int -> 'a unsafe_env -> name * typed_type -val lookup_constant : section_path -> 'a unsafe_env -> constant_body -val lookup_mind : section_path -> 'a unsafe_env -> mutual_inductive_body -val lookup_mind_specif : constr -> 'a unsafe_env -> mind_specif -val lookup_meta : int -> 'a unsafe_env -> constr +val lookup_var : identifier -> unsafe_env -> name * typed_type +val lookup_rel : int -> unsafe_env -> name * typed_type +val lookup_constant : section_path -> unsafe_env -> constant_body +val lookup_mind : section_path -> unsafe_env -> mutual_inductive_body +val lookup_mind_specif : constr -> unsafe_env -> mind_specif -val id_of_global : 'a unsafe_env -> sorts oper -> identifier -val id_of_name_using_hdchar : 'a unsafe_env -> constr -> name -> identifier -val named_hd : 'a unsafe_env -> constr -> name -> name -val prod_name : 'a unsafe_env -> name * constr * constr -> constr +val id_of_global : unsafe_env -> sorts oper -> identifier +val id_of_name_using_hdchar : unsafe_env -> constr -> name -> identifier +val named_hd : unsafe_env -> constr -> name -> name +val prod_name : unsafe_env -> name * constr * constr -> constr -val translucent_abst : 'a unsafe_env -> constr -> bool -val evaluable_abst : 'a unsafe_env -> constr -> bool -val abst_value : 'a unsafe_env -> constr -> constr +val translucent_abst : unsafe_env -> constr -> bool +val evaluable_abst : unsafe_env -> constr -> bool +val abst_value : unsafe_env -> constr -> constr -val defined_const : 'a unsafe_env -> constr -> bool -val translucent_const : 'a unsafe_env -> constr -> bool -val evaluable_const : 'a unsafe_env -> constr -> bool - -val is_existential : constr -> bool +val defined_constant : unsafe_env -> constr -> bool +val evaluable_constant : unsafe_env -> constr -> bool (*s Modules. *) type compiled_env -val export : 'a unsafe_env -> string -> compiled_env -val import : compiled_env -> 'a unsafe_env -> 'a unsafe_env +val export : unsafe_env -> string -> compiled_env +val import : compiled_env -> unsafe_env -> unsafe_env (*s Unsafe judgments. We introduce here the pre-type of judgments, which is actually only a datatype to store a term with its type and the type of its |
