equal
deleted
inserted
replaced
66 fun strip ("'" :: c :: cs) = c :: strip cs |
66 fun strip ("'" :: c :: cs) = c :: strip cs |
67 | strip ["'"] = [] |
67 | strip ["'"] = [] |
68 | strip (c :: cs) = c :: strip cs |
68 | strip (c :: cs) = c :: strip cs |
69 | strip [] = []; |
69 | strip [] = []; |
70 |
70 |
71 val strip_esc = implode o strip o explode; |
71 val strip_esc = implode o strip o Symbol.explode; |
72 |
72 |
73 fun type_name t (InfixlName _) = t |
73 fun type_name t (InfixlName _) = t |
74 | type_name t (InfixrName _) = t |
74 | type_name t (InfixrName _) = t |
75 | type_name t (Infixl _) = strip_esc t |
75 | type_name t (Infixl _) = strip_esc t |
76 | type_name t (Infixr _) = strip_esc t |
76 | type_name t (Infixr _) = strip_esc t |