author | blanchet |
Wed, 02 Jun 2010 15:18:48 +0200 | |
changeset 37321 | 9d7cfae95b30 |
parent 37320 | 06c7a2f231fe |
child 37322 | 0347b1a16682 |
--- a/src/HOL/Tools/Sledgehammer/sledgehammer_util.ML Wed Jun 02 14:40:15 2010 +0200 +++ b/src/HOL/Tools/Sledgehammer/sledgehammer_util.ML Wed Jun 02 15:18:48 2010 +0200 @@ -91,7 +91,8 @@ end val subscript = implode o map (prefix "\<^isub>") o explode -val nat_subscript = subscript o string_of_int +fun nat_subscript n = + n |> string_of_int |> print_mode_active Symbol.xsymbolsN ? subscript fun plain_string_from_xml_tree t = Buffer.empty |> XML.add_content t |> Buffer.content