src/HOL/Tools/ATP/atp_problem.ML
changeset 47053 7585d0120f1d
parent 47041 d810a9130d55
child 47054 b86864a2b16e
--- a/src/HOL/Tools/ATP/atp_problem.ML	Tue Mar 20 17:20:33 2012 +0000
+++ b/src/HOL/Tools/ATP/atp_problem.ML	Tue Mar 20 18:42:45 2012 +0100
@@ -578,20 +578,20 @@
                    |> maybe_enclose "set_precedence(" ")."]
        else
          [])
-    fun list_of _ _ _ [] = []
-      | list_of heading bef aft ss =
-        "list_of_" ^ heading ^ ".\n" :: bef :: map (suffix "\n") ss @
-        [aft, "end_of_list.\n\n"]
+    fun list_of _ [] = []
+      | list_of heading ss =
+        "list_of_" ^ heading ^ ".\n" :: map (suffix "\n") ss @
+        ["end_of_list.\n\n"]
   in
     "\nbegin_problem(isabelle).\n\n" ::
-    list_of "descriptions" "" ""
+    list_of "descriptions"
             ["name({**}).", "author({**}).", "status(unknown).",
              "description({**})."] @
-    list_of "symbols" "" "" syms @
-    list_of "declarations" "" "" decls @
-    list_of "formulae(axioms)" "" "" axioms @
-    list_of "formulae(conjectures)" "" "" conjs @
-    list_of "settings(SPASS)" "{*\n" "*}\n" settings @
+    list_of "symbols" syms @
+    list_of "declarations" decls @
+    list_of "formulae(axioms)" axioms @
+    list_of "formulae(conjectures)" conjs @
+    list_of "settings(SPASS)" settings @
     ["end_problem.\n"]
   end