merged
authorhaftmann
Fri, 17 Sep 2010 20:13:07 +0200
changeset 39532 fafabbcd808c
parent 39531 49194c9b0dd4 (diff)
parent 39506 cf61ec140c4d (current diff)
child 39533 91a0ff0ff237
merged
src/HOL/Tools/Sledgehammer/metis_clauses.ML
--- a/src/Tools/Code/code_printer.ML	Fri Sep 17 17:31:20 2010 +0200
+++ b/src/Tools/Code/code_printer.ML	Fri Sep 17 20:13:07 2010 +0200
@@ -147,13 +147,13 @@
         else s1 ^ s ^ s2
       end;
 
-fun plain_text (XML.Elem (_, xs)) = implode (map plain_text xs)
+fun plain_text (XML.Elem (_, xs)) = maps_string "" plain_text xs
   | plain_text (XML.Text s) = s
 
 fun format presentation_names width =
   Print_Mode.setmp [code_presentationN] (Pretty.string_of_margin width)
   #> YXML.parse_body
-  #> (if null presentation_names then implode o map plain_text
+  #> (if null presentation_names then maps_string "" plain_text
       else maps_string "\n\n" (filter_presentation presentation_names false))
   #> suffix "\n";