src/HOL/Import/proof_kernel.ML
changeset 28397 389c5e494605
parent 27691 ce171cbd4b93
child 28662 64ab5bb68d4c
--- a/src/HOL/Import/proof_kernel.ML	Mon Sep 29 10:58:04 2008 +0200
+++ b/src/HOL/Import/proof_kernel.ML	Mon Sep 29 11:46:47 2008 +0200
@@ -1250,7 +1250,7 @@
         then SOME (newstr,valOf(Int.fromString idx))
         else NONE
     end
-    handle _ => NONE
+    handle _ => NONE  (* FIXME avoid handle _ *)
 
 fun rewrite_hol4_term t thy =
     let
@@ -1283,7 +1283,7 @@
                            handle ERROR _ =>
                                   (case split_name thmname of
                                        SOME (listname,idx) => (SOME (List.nth(PureThy.get_thms thy listname,idx-1))
-                                                               handle _ => NONE)
+                                                               handle _ => NONE)  (* FIXME avoid handle _ *)
                                      | NONE => NONE))
             in
                 case th1 of
@@ -1339,7 +1339,7 @@
         end
   in
       case b of
-          NONE => (warn () handle _ => (); (a,b))
+          NONE => (warn () handle _ => (); (a,b)) (* FIXME avoid handle _ *)
         | _ => (a, b)
   end