Struct term_rewriting::TRS
[−]
[src]
pub struct TRS { /* fields omitted */ }
A first-order term rewriting system.
Methods
impl TRS
[src]
pub fn new(rules: Vec<Rule>) -> TRS
[src]
Constructs a term rewriting system from a list of rules.
pub fn rewrite(&self, term: &Term) -> Option<Vec<Term>>
[src]
Perform a single rewrite step using a normal-order (leftmost-outermost) rewrite strategy.
Trait Implementations
impl Debug for TRS
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more