disable_tyabbrev_printing : string -> unit
- type_abbrev("LIST", ``:'a list``) > val it = () : unit - ``:num list``; > val it = ``:num LIST`` : hol_type - disable_tyabbrev_printing "LIST"; > val it = () : unit - ``:num LIST``; > val it = ``:num list`` : hol_type
This is generally the appropriate behaviour. However, there is are a number of useful abbreviations where reversing parsing when printing is not so useful. For example, the abbreviation mapping 'a set to 'a -> bool is convenient, but it would be a mistake having it print because types such as that of conjunction would print as
(/\) : bool -> bool set
As with other printing and parsing functions, there is a version of this function, temp_disable_tyabbrev_printing that does not cause its effect to persist with an exported theory.