Graph.minimals;
authorwenzelm
Fri, 21 May 2004 21:18:48 +0200
changeset 14774 d747c32e85e1
parent 14773 556d9cc73711
child 14775 65c22319829f
Graph.minimals;
src/Pure/Thy/thy_info.ML
--- a/src/Pure/Thy/thy_info.ML	Fri May 21 21:18:35 2004 +0200
+++ b/src/Pure/Thy/thy_info.ML	Fri May 21 21:18:48 2004 +0200
@@ -124,7 +124,7 @@
 (*theory names in topological order*)
 fun get_names () =
   let val G = get_thys ()
-  in Graph.all_succs G (filter (Library.null o Graph.imm_preds G) (Graph.keys G)) end;
+  in Graph.all_succs G (Graph.minimals G) end;
 
 
 (* access thy *)