From aeb1ef32feac2aff81715cc4755b705743fb4f1e Mon Sep 17 00:00:00 2001 From: glondu Date: Tue, 5 Oct 2010 10:03:00 +0000 Subject: Reintroduce kind_of_type (used by Presburger contrib) This partially reverts commit r13467. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@13497 85f007b7-540e-0410-9357-904b9bb8a0f7 --- kernel/term.mli | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'kernel/term.mli') diff --git a/kernel/term.mli b/kernel/term.mli index 4b9b5fdcce..875ac89896 100644 --- a/kernel/term.mli +++ b/kernel/term.mli @@ -216,6 +216,16 @@ type ('constr, 'types) kind_of_term = val kind_of_term : constr -> (constr, types) kind_of_term +(** Experimental, used in Presburger contrib *) +type ('constr, 'types) kind_of_type = + | SortType of sorts + | CastType of 'types * 'types + | ProdType of name * 'types * 'types + | LetInType of name * 'constr * 'types * 'types + | AtomicType of 'constr * 'constr array + +val kind_of_type : types -> (constr, types) kind_of_type + (** {6 Simple term case analysis. } *) val isRel : constr -> bool -- cgit v1.2.3