src/Pure/drule.ML
changeset 2672 85d7e800d754
parent 2266 82aef6857c5b
child 3530 d9ca80f0759c
--- a/src/Pure/drule.ML	Fri Feb 21 15:30:41 1997 +0100
+++ b/src/Pure/drule.ML	Fri Feb 21 15:31:47 1997 +0100
@@ -80,10 +80,10 @@
 (*results may contain duplicates!*)
 
 fun ancestry_of thy =
-  thy :: flat (map ancestry_of (parents_of thy));
+  thy :: List.concat (map ancestry_of (parents_of thy));
 
 val all_axioms_of =
-  flat o map (Symtab.dest o #new_axioms o rep_theory) o ancestry_of;
+  List.concat o map (Symtab.dest o #new_axioms o rep_theory) o ancestry_of;
 
 
 (* clash_types, clash_consts *)
@@ -389,7 +389,7 @@
 fun thas RLN (i,thbs) =
   let val resolve = biresolution false (map (pair false) thas) i
       fun resb thb = Sequence.list_of_s (resolve thb) handle THM _ => []
-  in  flat (map resb thbs)  end;
+  in  List.concat (map resb thbs)  end;
 
 fun thas RL thbs = thas RLN (1,thbs);