diff options
author | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2014-06-17 14:26:02 +0200 |
---|---|---|
committer | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2014-06-17 15:44:38 +0200 |
commit | 90d64647d3fd5dbf5c337944dc0038f0b19b8a51 (patch) | |
tree | b33528c72730ec541a75e3d0baaead6789f4dcb9 /library/heads.ml | |
parent | d412844753ef25f4431c209f47b97b9fa498297d (diff) |
Removing dead code.
Diffstat (limited to 'library/heads.ml')
-rw-r--r-- | library/heads.ml | 14 |
1 files changed, 0 insertions, 14 deletions
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" - - |