removing dead code in exhaustive_generators
authorbulwahn
Wed, 30 Mar 2011 19:09:57 +0200
changeset 42176 c7b6d8d9922e
parent 42175 32c3bb5e1b1a
child 42177 5cb4a2f4f2a4
removing dead code in exhaustive_generators
src/HOL/Tools/Quickcheck/exhaustive_generators.ML
--- a/src/HOL/Tools/Quickcheck/exhaustive_generators.ML	Wed Mar 30 19:09:56 2011 +0200
+++ b/src/HOL/Tools/Quickcheck/exhaustive_generators.ML	Wed Mar 30 19:09:57 2011 +0200
@@ -287,20 +287,6 @@
 val put_counterexample_batch = Counterexample_Batch.put;
 
 val target = "Quickcheck";
-(*
-fun compile_simple_generator_expr ctxt (t, eval_terms) =
-  let
-    val thy = ProofContext.theory_of ctxt
-    val t' = mk_generator_expr ctxt (t, eval_terms);
-    val compile = Code_Runtime.dynamic_value_strict
-      (Counterexample.get, put_counterexample, "Exhaustive_Generators.put_counterexample")
-      thy (SOME target) (fn proc => fn g => g #> (Option.map o map) proc) t' [];
-  in
-    fn [size] => rpair NONE (compile [size] |> 
-      (if Config.get ctxt quickcheck_pretty then
-        Option.map (map Quickcheck_Common.post_process_term) else I))
-  end;
-*)
   
 fun compile_generator_expr ctxt ts =
   let