src/HOL/Tools/Meson/meson_clausify.ML
changeset 44241 7943b69f0188
parent 44121 44adaa6db327
child 45508 b216dc1b3630
--- a/src/HOL/Tools/Meson/meson_clausify.ML	Wed Aug 17 16:46:58 2011 +0200
+++ b/src/HOL/Tools/Meson/meson_clausify.ML	Wed Aug 17 18:05:31 2011 +0200
@@ -68,8 +68,8 @@
           val args = Misc_Legacy.term_frees body
           (* Forms a lambda-abstraction over the formal parameters *)
           val rhs =
-            list_abs_free (map dest_Free args,
-                           HOLogic.choice_const T $ beta_eta_in_abs_body body)
+            fold_rev (absfree o dest_Free) args
+              (HOLogic.choice_const T $ beta_eta_in_abs_body body)
             |> mk_old_skolem_term_wrapper
           val comb = list_comb (rhs, args)
         in dec_sko (subst_bound (comb, p)) (rhs :: rhss) end