src/HOL/Tools/inductive.ML
changeset 37957 00e848690339
parent 37901 ea7d4423cb5b
child 38118 561aa8eb63d3
--- a/src/HOL/Tools/inductive.ML	Mon Jul 26 17:41:26 2010 +0200
+++ b/src/HOL/Tools/inductive.ML	Mon Jul 26 17:59:26 2010 +0200
@@ -522,9 +522,9 @@
 fun gen_inductive_cases prep_att prep_prop args lthy =
   let
     val thy = ProofContext.theory_of lthy;
-    val facts = args |> map (fn ((a, atts), props) =>
+    val facts = args |> Par_List.map (fn ((a, atts), props) =>
       ((a, map (prep_att thy) atts),
-        map (Thm.no_attributes o single o mk_cases lthy o prep_prop lthy) props));
+        Par_List.map (Thm.no_attributes o single o mk_cases lthy o prep_prop lthy) props));
   in lthy |> Local_Theory.notes facts |>> map snd end;
 
 val inductive_cases = gen_inductive_cases Attrib.intern_src Syntax.read_prop;