src/HOL/Algebra/ringsimp.ML
changeset 20547 796ae7fa1049
parent 20348 d59364649bcc
child 21505 13d4dba99337
--- a/src/HOL/Algebra/ringsimp.ML	Fri Sep 15 20:08:38 2006 +0200
+++ b/src/HOL/Algebra/ringsimp.ML	Fri Sep 15 22:56:08 2006 +0200
@@ -8,7 +8,7 @@
 signature ALGEBRA =
 sig
   val print_structures: Context.generic -> unit
-  val setup: Theory.theory -> Theory.theory
+  val setup: theory -> theory
 end;
 
 structure Algebra: ALGEBRA =
@@ -17,7 +17,7 @@
 
 (** Theory and context data **)
 
-fun struct_eq ((s1, ts1), (s2, ts2)) =
+fun struct_eq ((s1: string, ts1), (s2, ts2)) =
   (s1 = s2) andalso eq_list (op aconv) (ts1, ts2);
 
 structure AlgebraData = GenericDataFun