src/Pure/Isar/isar_thy.ML
changeset 19482 9f11af8f7ef9
parent 18804 d42708f5c186
child 19585 70a1ce3b23ae
--- a/src/Pure/Isar/isar_thy.ML	Thu Apr 27 12:11:56 2006 +0200
+++ b/src/Pure/Isar/isar_thy.ML	Thu Apr 27 15:06:35 2006 +0200
@@ -80,8 +80,8 @@
   PureThy.note_thmss_i kind args
   #> tap (present_theorems kind);
 
-fun apply_theorems args = apfst (List.concat o map snd) o theorems "" [(("", []), args)];
-fun apply_theorems_i args = apfst (List.concat o map snd) o theorems_i "" [(("", []), args)];
+fun apply_theorems args = apfst (maps snd) o theorems "" [(("", []), args)];
+fun apply_theorems_i args = apfst (maps snd) o theorems_i "" [(("", []), args)];
 
 fun smart_theorems kind NONE args thy = thy
       |> theorems kind args