removed debugging code
authorkrauss
Wed, 11 Apr 2007 09:40:29 +0200
changeset 22635 d33735c0f225
parent 22634 399e4b4835da
child 22636 c40465deaf20
removed debugging code
src/HOL/Tools/function_package/fundef_package.ML
--- a/src/HOL/Tools/function_package/fundef_package.ML	Wed Apr 11 08:28:15 2007 +0200
+++ b/src/HOL/Tools/function_package/fundef_package.ML	Wed Apr 11 09:40:29 2007 +0200
@@ -68,9 +68,6 @@
        fold2 add_for_f fnames simps_by_f lthy)
     end
 
-
-fun pr_ctxdata (x: fundef_context_data) = (Output.debug (K (PolyML.makestring x)); x)
-
 fun fundef_afterqed config fixes spec defname cont sort_cont [[proof]] lthy =
     let
       val FundefResult {f, R, psimps, trsimps, subset_pinducts, simple_pinducts, termination, domintros, cases, ...} = 
@@ -94,7 +91,7 @@
             |> morph_fundef_data (LocalTheory.target_morphism lthy)
     in
       lthy 
-        |> LocalTheory.declaration (fn phi => add_fundef_data defname (pr_ctxdata (morph_fundef_data phi cdata))) (* save in target *)
+        |> LocalTheory.declaration (fn phi => add_fundef_data defname (morph_fundef_data phi cdata)) (* save in target *)
         |> Context.proof_map (add_fundef_data defname cdata) (* also save in local context *)
     end (* FIXME: Add cases for induct and cases thm *)