aboutsummaryrefslogtreecommitdiff
path: root/vernac/declareUniv.mli
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2019-10-24 03:43:04 +0200
committerEmilio Jesus Gallego Arias2019-10-24 21:33:58 +0200
commit43f037b5f3af7ab642bed4c6767bf7845156f92f (patch)
tree70614c100f24cdc76caf34541f784bc8994e37db /vernac/declareUniv.mli
parent4c779c4fee1134c5d632885de60db73d56021df4 (diff)
[declare] Split universe declaration code to vernac/
The code is self-contained and only used by commands; this also highlights the several `Libobject.obj` registered for each declaration.
Diffstat (limited to 'vernac/declareUniv.mli')
-rw-r--r--vernac/declareUniv.mli17
1 files changed, 17 insertions, 0 deletions
diff --git a/vernac/declareUniv.mli b/vernac/declareUniv.mli
new file mode 100644
index 0000000000..ce2a6e225c
--- /dev/null
+++ b/vernac/declareUniv.mli
@@ -0,0 +1,17 @@
+(************************************************************************)
+(* * The Coq Proof Assistant / The Coq Development Team *)
+(* v * INRIA, CNRS and contributors - Copyright 1999-2019 *)
+(* <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
+
+(** Global universe contexts, names and constraints *)
+val declare_univ_binders : GlobRef.t -> UnivNames.universe_binders -> unit
+
+val do_universe : poly:bool -> lident list -> unit
+val do_constraint : poly:bool -> Glob_term.glob_constraint list -> unit