summaryrefslogtreecommitdiff
path: root/vernac/record.mli
diff options
context:
space:
mode:
Diffstat (limited to 'vernac/record.mli')
-rw-r--r--vernac/record.mli35
1 files changed, 35 insertions, 0 deletions
diff --git a/vernac/record.mli b/vernac/record.mli
new file mode 100644
index 00000000..992da2aa
--- /dev/null
+++ b/vernac/record.mli
@@ -0,0 +1,35 @@
+(************************************************************************)
+(* * The Coq Proof Assistant / The Coq Development Team *)
+(* v * INRIA, CNRS and contributors - Copyright 1999-2018 *)
+(* <O___,, * (see CREDITS file for the list of authors) *)
+(* \VV/ **************************************************************)
+(* // * This file is distributed under the terms of the *)
+(* * GNU Lesser General Public License Version 2.1 *)
+(* * (see LICENSE file for the text of the license) *)
+(************************************************************************)
+
+open Names
+open Vernacexpr
+open Constrexpr
+open Globnames
+
+val primitive_flag : bool ref
+
+val declare_projections :
+ inductive ->
+ Entries.constant_universes_entry ->
+ ?kind:Decl_kinds.definition_object_kind ->
+ Id.t ->
+ bool list ->
+ Universes.universe_binders ->
+ Impargs.manual_implicits list ->
+ Context.Rel.t ->
+ (Name.t * bool) list * Constant.t option list
+
+val definition_structure :
+ inductive_kind * Decl_kinds.cumulative_inductive_flag * Decl_kinds.polymorphic *
+ Declarations.recursivity_kind * ident_decl with_coercion * local_binder_expr list *
+ (local_decl_expr with_instance with_priority with_notation) list *
+ Id.t * constr_expr option -> global_reference
+
+val declare_existing_class : global_reference -> unit