src/Pure/General/symbol.ML
changeset 17412 e26cb20ef0cc
parent 17221 6cd180204582
child 17756 d4a35f82fbb4
equal deleted inserted replaced
17411:664434175578 17412:e26cb20ef0cc
   348     if is_ascii_letter s then Letter
   348     if is_ascii_letter s then Letter
   349     else if is_ascii_digit s then Digit
   349     else if is_ascii_digit s then Digit
   350     else if is_ascii_quasi s then Quasi
   350     else if is_ascii_quasi s then Quasi
   351     else if is_ascii_blank s then Blank
   351     else if is_ascii_blank s then Blank
   352     else if is_char s then Other
   352     else if is_char s then Other
   353     else if_none (Symtab.curried_lookup symbol_kinds s) Other;
   353     else if_none (Symtab.lookup symbol_kinds s) Other;
   354 end;
   354 end;
   355 
   355 
   356 fun is_letter s = kind s = Letter;
   356 fun is_letter s = kind s = Letter;
   357 fun is_digit s = kind s = Digit;
   357 fun is_digit s = kind s = Digit;
   358 fun is_quasi s = kind s = Quasi;
   358 fun is_quasi s = kind s = Quasi;