From f83572bc45b9ab6b72688eb22d125896541ccf16 Mon Sep 17 00:00:00 2001 From: herbelin Date: Wed, 19 Sep 2001 16:55:41 +0000 Subject: Type 'sorts_family' (ex elimination_sorts) pour caractériser les familles des sortes (InProp, InSet, InType) git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@2009 85f007b7-540e-0410-9357-904b9bb8a0f7 --- kernel/declarations.ml | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'kernel/declarations.ml') diff --git a/kernel/declarations.ml b/kernel/declarations.ml index 549496d918..28f26a3afc 100644 --- a/kernel/declarations.ml +++ b/kernel/declarations.ml @@ -40,18 +40,6 @@ type local_entry = (* Inductive entries *) -type elimination_sorts = ElimOnProp | ElimOnSet | ElimOnType - -let sort_of_elimination = function - | ElimOnProp -> prop - | ElimOnSet -> spec - | ElimOnType -> Type (Univ.new_univ ()) - -let elimination_of_sort = function - | Prop Null -> ElimOnProp - | Prop Pos -> ElimOnSet - | Type _ -> ElimOnType - type recarg = | Param of int | Norec @@ -68,7 +56,7 @@ type one_inductive_body = { mind_user_arity : types option; mind_sort : sorts; mind_nrealargs : int; - mind_kelim : elimination_sorts list; + mind_kelim : sorts_family list; mind_listrec : (recarg list) array; mind_finite : bool; mind_nparams : int; -- cgit v1.2.3