diff options
| author | gareuselesinge | 2013-05-09 20:48:29 +0000 |
|---|---|---|
| committer | gareuselesinge | 2013-05-09 20:48:29 +0000 |
| commit | 1eaebf4ab7616b2be16b957736e80f1d6100eae0 (patch) | |
| tree | 947ba448881d084f271365a29a15b10e649d0767 /library/declare.mli | |
| parent | 6105951610e140828d5be2c187c927d2119c8df0 (diff) | |
Use definition_entry to declare local definitions
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@16502 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'library/declare.mli')
| -rw-r--r-- | library/declare.mli | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/declare.mli b/library/declare.mli index 602cd64faf..a9cd8f7205 100644 --- a/library/declare.mli +++ b/library/declare.mli @@ -29,7 +29,7 @@ open Nametab (** Declaration of local constructions (Variable/Hypothesis/Local) *) type section_variable_entry = - | SectionLocalDef of constr * types option * bool (** opacity *) + | SectionLocalDef of definition_entry | SectionLocalAssum of types * bool (** Implicit status *) type variable_declaration = DirPath.t * section_variable_entry * logical_kind @@ -59,7 +59,7 @@ val declare_constant : val declare_definition : ?internal:internal_flag -> ?opaque:bool -> ?kind:definition_object_kind -> - ?local:bool -> Id.t -> ?types:constr -> constr -> constant + ?local:bool -> Id.t -> ?types:constr -> Entries.const_entry_body -> constant (** [declare_mind me] declares a block of inductive types with their constructors in the current section; it returns the path of |
