eliminated fragile catch-all pattern, based on educated guess about the intended exception;
authorwenzelm
Tue, 02 Nov 2010 20:15:57 +0100
changeset 40298 2bdb14323fbf
parent 40297 c753e3f8b4d6
child 40299 132e2349694b
eliminated fragile catch-all pattern, based on educated guess about the intended exception;
src/HOL/Matrix/matrixlp.ML
--- a/src/HOL/Matrix/matrixlp.ML	Tue Nov 02 12:37:12 2010 +0100
+++ b/src/HOL/Matrix/matrixlp.ML	Tue Nov 02 20:15:57 2010 +0100
@@ -82,7 +82,7 @@
     let
         val simp_th = matrix_compute (cprop_of th)
         val th = Thm.strip_shyps (Thm.equal_elim simp_th th)
-        fun removeTrue th = removeTrue (Thm.implies_elim th TrueI) handle _ => th  (* FIXME avoid handle _ *)
+        fun removeTrue th = removeTrue (Thm.implies_elim th TrueI) handle THM _ => th
     in
         removeTrue th
     end