changeset 56254 | a2dd9200854d |
parent 55642 | 63beb38e9258 |
child 56303 | 4cc3f4db3447 |
--- a/src/HOL/Tools/Sledgehammer/sledgehammer_mash.ML Sat Mar 22 18:16:54 2014 +0100 +++ b/src/HOL/Tools/Sledgehammer/sledgehammer_mash.ML Sat Mar 22 18:19:57 2014 +0100 @@ -577,7 +577,7 @@ val pat_var_prefix = "_" (* try "Long_Name.base_name" for shorter names *) -fun massage_long_name s = if s = hd HOLogic.typeS then "T" else s +fun massage_long_name s = if s = @{class type} then "T" else s val crude_str_of_sort = space_implode ":" o map massage_long_name o subtract (op =) @{sort type}