Changed type of Logic.strip_horn.
authorberghofe
Mon, 21 Oct 2002 17:07:58 +0200
changeset 13660 e36798726ca4
parent 13659 3cf622f6b0b2
child 13661 ec97dfc2bfe0
Changed type of Logic.strip_horn.
src/Pure/goals.ML
--- a/src/Pure/goals.ML	Mon Oct 21 17:07:27 2002 +0200
+++ b/src/Pure/goals.ML	Mon Oct 21 17:07:58 2002 +0200
@@ -746,7 +746,7 @@
 fun prepare_proof atomic rths chorn =
   let val {sign, t=horn,...} = rep_cterm chorn;
       val _ = Term.no_dummy_patterns horn handle TERM (msg, _) => error msg;
-      val (_,As,B) = Logic.strip_horn(horn);
+      val (As, B) = Logic.strip_horn horn;
       val atoms = atomic andalso
             forall (fn t => not(Logic.is_implies t orelse Logic.is_all t)) As;
       val (As,B) = if atoms then ([],horn) else (As,B);