src/Provers/splitter.ML
changeset 18708 4b3dadb4fe33
parent 18688 abf0f018b5ec
child 18728 6790126ab5f6
--- a/src/Provers/splitter.ML	Thu Jan 19 15:45:10 2006 +0100
+++ b/src/Provers/splitter.ML	Thu Jan 19 21:22:08 2006 +0100
@@ -35,7 +35,7 @@
   val split_add: Context.generic attribute
   val split_del: Context.generic attribute
   val split_modifiers : (Args.T list -> (Method.modifier * Args.T list)) list
-  val setup: (theory -> theory) list
+  val setup: theory -> theory
 end;
 
 functor SplitterFun(Data: SPLITTER_DATA): SPLITTER =
@@ -455,9 +455,9 @@
 (* theory setup *)
 
 val setup =
- [Attrib.add_attributes
+ (Attrib.add_attributes
   [(splitN, Attrib.common (Attrib.add_del_args split_add split_del),
-    "declaration of case split rule")],
-  Method.add_methods [(splitN, split_meth, "apply case split rule")]];
+    "declaration of case split rule")] #>
+  Method.add_methods [(splitN, split_meth, "apply case split rule")]);
 
 end;