show_numeral_typesGlobals.show_numeral_types : bool ref
A flag which causes numerals to be printed with suffix annotation when true.
This flag controls the pretty-printing of numeral forms that have
been added to the global grammar with the function
add_numeral_form. If the flag is true, then all numeric
values are printed with the single-letter suffixes that identify which
type the value is.
Never fails, as it is just an SML value.
> Term`~3`;
val it = ā-3ā: term
> show_numeral_types := true;
val it = (): unit
> Term`~3`;
val it = ā-3iā: term
Can help to disambiguate terms involving numerals.
Parse.add_numeral_form,
Globals.show_types