src/FOL/ex/int.ML
changeset 18678 dd0c569fa43d
parent 15661 9ef583b08647
--- a/src/FOL/ex/int.ML	Fri Jan 13 17:39:41 2006 +0100
+++ b/src/FOL/ex/int.ML	Sat Jan 14 17:14:06 2006 +0100
@@ -84,12 +84,12 @@
 
 (*The attempt to prove them terminates quickly!*)
 Goal "((P-->Q) --> P)  -->  P";
-by (IntPr.fast_tac 1) handle ERROR => writeln"Failed, as expected";  
+by (IntPr.fast_tac 1) handle ERROR _ => writeln"Failed, as expected";  
 (*Check that subgoals remain: proof failed.*)
 getgoal 1;  
 
 Goal "(P&Q-->R)  -->  (P-->R) | (Q-->R)";
-by (IntPr.fast_tac 1) handle ERROR => writeln"Failed, as expected";  
+by (IntPr.fast_tac 1) handle ERROR _ => writeln"Failed, as expected";  
 getgoal 1;  
 
 
@@ -272,24 +272,24 @@
 (*The attempt to prove them terminates quickly!*)
 
 Goal "((ALL x. P(x))-->Q) --> (EX x. P(x)-->Q)";
-by (IntPr.fast_tac 1) handle ERROR => writeln"Failed, as expected";  
+by (IntPr.fast_tac 1) handle ERROR _ => writeln"Failed, as expected";  
 getgoal 1; 
 
 Goal "(P --> (EX x. Q(x))) --> (EX x. P-->Q(x))";
-by (IntPr.fast_tac 1) handle ERROR => writeln"Failed, as expected";  
+by (IntPr.fast_tac 1) handle ERROR _ => writeln"Failed, as expected";  
 getgoal 1; 
 
 Goal "(ALL x. P(x) | Q) --> ((ALL x. P(x)) | Q)";
-by (IntPr.fast_tac 1) handle ERROR => writeln"Failed, as expected";  
+by (IntPr.fast_tac 1) handle ERROR _ => writeln"Failed, as expected";  
 getgoal 1; 
 
 Goal "(ALL x. ~~P(x)) --> ~~(ALL x. P(x))";
-by (IntPr.fast_tac 1) handle ERROR => writeln"Failed, as expected";  
+by (IntPr.fast_tac 1) handle ERROR _ => writeln"Failed, as expected";  
 getgoal 1; 
 
 (*Classically but not intuitionistically valid.  Proved by a bug in 1986!*)
 Goal "EX x. Q(x) --> (ALL x. Q(x))";
-by (IntPr.fast_tac 1) handle ERROR => writeln"Failed, as expected";  
+by (IntPr.fast_tac 1) handle ERROR _ => writeln"Failed, as expected";  
 getgoal 1;