src/ZF/ROOT.ML
changeset 1512 ce37c64244c0
parent 1461 6bcb44e4d6e5
child 2469 b50b8c0eec01
--- a/src/ZF/ROOT.ML	Fri Feb 16 17:24:51 1996 +0100
+++ b/src/ZF/ROOT.ML	Fri Feb 16 18:00:47 1996 +0100
@@ -12,9 +12,8 @@
 writeln banner;
 
 (*For Pure/tactic??  A crude way of adding structure to rules*)
-fun CHECK_SOLVED (Tactic tf) = 
-  Tactic (fn state => 
-    case Sequence.pull (tf state) of
+fun CHECK_SOLVED tac st =
+    case Sequence.pull (tac st) of
         None => error"DO_GOAL: tactic list failed"
       | Some(x,_) => 
                 if has_fewer_prems 1 x then
@@ -22,7 +21,7 @@
                 else (writeln"DO_GOAL: unsolved goals!!";
                       writeln"Final proof state was ...";
                       print_goals (!goals_limit) x;
-                      raise ERROR));
+                      raise ERROR);
 
 fun DO_GOAL tfs = SELECT_GOAL (CHECK_SOLVED (EVERY1 tfs));