Starts a good tracing interface
This commit is contained in:
@ -1,5 +1,9 @@
|
||||
use std::fmt::Display;
|
||||
|
||||
use owo_colors::{OwoColorize, colors::css::Gray};
|
||||
|
||||
use crate::prover::tracing::colored_var;
|
||||
|
||||
pub type Variable = String;
|
||||
|
||||
#[derive(Clone, Debug)]
|
||||
@ -60,7 +64,7 @@ impl Display for Predicate
|
||||
{
|
||||
match self
|
||||
{
|
||||
Predicate::Variable(variable) => write!(f, "{}", variable),
|
||||
Predicate::Variable(variable) => write!(f, "{}", colored_var(variable)),
|
||||
Predicate::Fixed(name, predicates) =>
|
||||
{
|
||||
write!(f, "{}", name)?;
|
||||
|
||||
Reference in New Issue
Block a user