avoid Theory.rep_theory;
authorwenzelm
Thu, 20 Sep 2007 20:56:33 +0200
changeset 24665 e5bea50b9b89
parent 24664 4195de64fdb1
child 24666 9885a86f14a8
avoid Theory.rep_theory;
src/Pure/display.ML
--- a/src/Pure/display.ML	Thu Sep 20 20:56:32 2007 +0200
+++ b/src/Pure/display.ML	Thu Sep 20 20:56:33 2007 +0200
@@ -198,7 +198,9 @@
     fun pretty_restrict (const, name) =
       Pretty.block ([prt_const' const, Pretty.brk 2, Pretty.str ("(from " ^ quote name ^ ")")]);
 
-    val {axioms, defs, oracles} = Theory.rep_theory thy;
+    val axioms = (Theory.axiom_space thy, Theory.axiom_table thy);
+    val oracles = (Theory.oracle_space thy, Theory.oracle_table thy);
+    val defs = Theory.defs_of thy;
     val {restricts, reducts} = Defs.dest defs;
     val {naming, syn = _, tsig, consts} = Sign.rep_sg thy;
     val {constants, constraints} = Consts.dest consts;