src/HOL/Tools/Sledgehammer/sledgehammer_atp_translate.ML
changeset 42691 6efda6167e5d
parent 42690 4d29b4785f43
child 42693 3c2baf9b3c61
--- a/src/HOL/Tools/Sledgehammer/sledgehammer_atp_translate.ML	Thu May 05 02:27:02 2011 +0200
+++ b/src/HOL/Tools/Sledgehammer/sledgehammer_atp_translate.ML	Thu May 05 08:03:28 2011 +0200
@@ -618,10 +618,10 @@
 fun explicit_app arg head =
   let
     val head_T = combtyp_of head
-    val (arg_T, res_T) = dest_funT head_T
+    val (_, res_T) = dest_funT head_T
     val explicit_app =
       CombConst (`make_fixed_const explicit_app_base, head_T --> head_T,
-                 [arg_T, res_T])
+                 [res_T])
   in list_app explicit_app [head, arg] end
 fun list_explicit_app head args = fold explicit_app args head