diff options
| author | herbelin | 2001-11-20 15:35:22 +0000 |
|---|---|---|
| committer | herbelin | 2001-11-20 15:35:22 +0000 |
| commit | 72c03f36e2e969992acf8e0398bbf7ae2c2c70b8 (patch) | |
| tree | 58f880037a6b24d23b770b427f07b6d03d93a81f /kernel/safe_typing.mli | |
| parent | 52c0bf0da05bcfce49ce5c8321e8b9ed7b3a1cb5 (diff) | |
Fusion de declare/add_constant, declare/add_parameter et add_discharged_constant
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@2211 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'kernel/safe_typing.mli')
| -rw-r--r-- | kernel/safe_typing.mli | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/kernel/safe_typing.mli b/kernel/safe_typing.mli index 36c2bbb23a..853bc7ccd9 100644 --- a/kernel/safe_typing.mli +++ b/kernel/safe_typing.mli @@ -35,21 +35,18 @@ val push_named_def : val pop_named_decls : identifier list -> safe_environment -> safe_environment (* Adding global axioms or definitions *) - -val add_parameter : - section_path -> constr -> safe_environment -> safe_environment - -(*s Global and local constant declaration. *) - type constant_entry = { const_entry_body : constr; const_entry_type : types option; const_entry_opaque : bool } +type global_declaration = + | ConstantEntry of constant_entry + | ParameterEntry of types + | GlobalRecipe of Cooking.recipe + val add_constant : - section_path -> constant_entry -> safe_environment -> safe_environment -val add_discharged_constant : - section_path -> Cooking.recipe -> safe_environment -> safe_environment + section_path -> global_declaration -> safe_environment -> safe_environment (* Adding an inductive type *) val add_mind : |
