From 5fa47f1258408541150e2e4c26d60ff694e7c1bc Mon Sep 17 00:00:00 2001 From: letouzey Date: Tue, 29 May 2012 11:08:37 +0000 Subject: locus.mli for occurrences+clauses, misctypes.mli for various little things Corresponding operations in locusops.ml and miscops.ml The type of occurrences is now a clear algebraic one instead of a bool*list hard to understand. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@15372 85f007b7-540e-0410-9357-904b9bb8a0f7 --- intf/decl_kinds.mli | 6 ++-- intf/locus.mli | 88 +++++++++++++++++++++++++++++++++++++++++++++++++++++ intf/misctypes.mli | 70 ++++++++++++++++++++++++++++++++++++++++++ intf/vernacexpr.mli | 4 +-- 4 files changed, 163 insertions(+), 5 deletions(-) create mode 100644 intf/locus.mli create mode 100644 intf/misctypes.mli (limited to 'intf') diff --git a/intf/decl_kinds.mli b/intf/decl_kinds.mli index 6ee6f707d8..d20bae0b55 100644 --- a/intf/decl_kinds.mli +++ b/intf/decl_kinds.mli @@ -8,9 +8,9 @@ (** Informal mathematical status of declarations *) -type locality = - | Local - | Global +type locality = Local | Global + +type binding_kind = Explicit | Implicit type theorem_kind = | Theorem diff --git a/intf/locus.mli b/intf/locus.mli new file mode 100644 index 0000000000..b691175473 --- /dev/null +++ b/intf/locus.mli @@ -0,0 +1,88 @@ +(************************************************************************) +(* v * The Coq Proof Assistant / The Coq Development Team *) +(*