From 90d64647d3fd5dbf5c337944dc0038f0b19b8a51 Mon Sep 17 00:00:00 2001 From: Pierre-Marie Pédrot Date: Tue, 17 Jun 2014 14:26:02 +0200 Subject: Removing dead code. --- library/heads.ml | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'library/heads.ml') diff --git a/library/heads.ml b/library/heads.ml index fa0393019..31908816b 100644 --- a/library/heads.ml +++ b/library/heads.ml @@ -6,7 +6,6 @@ (* * GNU Lesser General Public License Version 2.1 *) (************************************************************************) -open Pp open Util open Names open Term @@ -14,7 +13,6 @@ open Vars open Mod_subst open Environ open Globnames -open Nameops open Libobject open Lib @@ -186,15 +184,3 @@ let inHead : head_obj -> obj = let declare_head c = let hd = compute_head c in add_anonymous_leaf (inHead (c,hd)) - -(** Printing *) - -let pr_head = function -| RigidHead (RigidParameter cst) -> str "rigid constant " ++ pr_con cst -| RigidHead (RigidType) -> str "rigid type" -| RigidHead (RigidVar id) -> str "rigid variable " ++ pr_id id -| ConstructorHead -> str "constructor" -| FlexibleHead (k,n,p,b) -> int n ++ str "th of " ++ int k ++ str " binders applied to " ++ int p ++ str " arguments" ++ (if b then str " (with case)" else mt()) -| NotImmediatelyComputableHead -> str "unknown" - - -- cgit v1.2.3