src/Pure/Isar/proof_display.ML
changeset 28210 c164d1892553
parent 28092 5886e9359aa8
child 29606 fedb8be05f24
--- a/src/Pure/Isar/proof_display.ML	Fri Sep 12 10:54:00 2008 +0200
+++ b/src/Pure/Isar/proof_display.ML	Fri Sep 12 12:04:16 2008 +0200
@@ -46,8 +46,8 @@
 fun pretty_theorems_diff prev_thys thy =
   let
     val pretty_fact = ProofContext.pretty_fact (ProofContext.init thy);
-    val thmss = Facts.extern_static (map PureThy.facts_of prev_thys) (PureThy.facts_of thy);
-  in Pretty.big_list "theorems:" (map pretty_fact thmss) end;
+    val thmss = Facts.dest_static (map PureThy.facts_of prev_thys) (PureThy.facts_of thy);
+  in Pretty.big_list "theorems:" (map #1 (sort_wrt (#1 o #2) (map (`pretty_fact) thmss))) end;
 
 fun print_theorems_diff prev_thy thy =
   Pretty.writeln (pretty_theorems_diff [prev_thy] thy);