prefer_form_with_tok : {term_name : string, tok : string} -> unit
> set_mapped_fixity {term_name = "UNION", fixity = Infixl 500,
tok = "U"};
val it = () : unit
> ``s U t``;
val it = ``s U t`` : term
> dest_term it;
val it = COMB(``$UNION s``, ``t``) : lambda
> prefer_form_with_tok {term_name = "UNION", tok = "UNION"};
val it = () : unit
> ``s U t``;
val it = ``s UNION t`` : term
There is a companion temp_prefer_form_with_tok function, which has the same effect on the global grammar, but which does not cause this effect to persist when the current theory is exported.