Skip to main content

format_term

Function format_term 

Source
pub fn format_term(term: &Term, interner: &StringInterner, out: &mut String)
Expand description

Format an arbitrary term as a Prolog-syntax string. Used by the CLI for rendering uncaught error terms. Lives here (not in a general pretty-printer module) because the only consumer is the error path.