Deleted dead code
authorpaulson
Fri, 01 Dec 2006 12:23:53 +0100
changeset 21617 4664489469fc
parent 21616 296e0c318c3e
child 21618 1cbb1134cb6c
Deleted dead code
src/HOL/Tools/res_hol_clause.ML
--- a/src/HOL/Tools/res_hol_clause.ML	Fri Dec 01 12:23:39 2006 +0100
+++ b/src/HOL/Tools/res_hol_clause.ML	Fri Dec 01 12:23:53 2006 +0100
@@ -141,17 +141,6 @@
       lam2comb (Abs(x, tp, to_comb b (tp::bnds))) bnds 
   | to_comb (P $ Q) bnds = (to_comb P bnds) $ (to_comb Q bnds)
   | to_comb t _ = t;
-    
-(* print a term containing combinators, used for debugging *)
-exception TERM_COMB of term;
-
-fun string_of_term (Const(c,t)) = c
-  | string_of_term (Free(v,t)) = v
-  | string_of_term (Var((x,n),t)) = x ^ "_" ^ (string_of_int n)
-  | string_of_term (P $ Q) =
-      "(" ^ string_of_term P ^ " " ^ string_of_term Q ^ ")" 
-  | string_of_term t =  raise TERM_COMB (t);
-
 
 
 (******************************************************)