src/Pure/theory.ML
changeset 23600 5a5332e1351b
parent 23086 12320f6e2523
child 23655 d2d1138e0ddc
--- a/src/Pure/theory.ML	Thu Jul 05 20:01:36 2007 +0200
+++ b/src/Pure/theory.ML	Thu Jul 05 20:01:37 2007 +0200
@@ -34,9 +34,9 @@
   val defs_of : theory -> Defs.T
   val self_ref: theory -> theory_ref
   val deref: theory_ref -> theory
-  val merge: theory * theory -> theory                     (*exception TERM*)
-  val merge_refs: theory_ref * theory_ref -> theory_ref    (*exception TERM*)
-  val merge_list: theory list -> theory                    (*exception TERM*)
+  val merge: theory * theory -> theory
+  val merge_refs: theory_ref * theory_ref -> theory_ref
+  val merge_list: theory list -> theory
   val requires: theory -> string -> string -> unit
   val assert_super: theory -> theory -> theory
   val cert_axm: theory -> string * term -> string * term
@@ -70,7 +70,7 @@
 val merge = Context.merge;
 val merge_refs = Context.merge_refs;
 
-fun merge_list [] = raise TERM ("Empty merge of theories", [])
+fun merge_list [] = raise THEORY ("Empty merge of theories", [])
   | merge_list (thy :: thys) = Library.foldl merge (thy, thys);
 
 val begin_theory = Sign.local_path oo Context.begin_thy Sign.pp;