src/Pure/Thy/thm_deps.ML
changeset 9502 50ec59aff389
parent 9450 c97dba47e504
child 11530 b6e21f6cfacd
--- a/src/Pure/Thy/thm_deps.ML	Wed Aug 02 19:39:48 2000 +0200
+++ b/src/Pure/Thy/thm_deps.ML	Wed Aug 02 19:40:14 2000 +0200
@@ -66,7 +66,7 @@
   let
     val _ = writeln "Generating graph ...";
     val gra = map snd (Symtab.dest (fst (foldl make_deps_graph ((Symtab.empty, []),
-      map (#der o Thm.rep_thm) thms))));
+      map (#2 o #der o Thm.rep_thm) thms))));
     val path = File.tmp_path (Path.unpack "theorems.graph");
     val _ = Present.write_graph gra path;
     val _ = system ("$ISATOOL browser -d " ^ Path.pack (Path.expand path) ^ " &");