duplicate_term is now copy_term
This commit is contained in:
@@ -325,7 +325,7 @@ pub enum BuiltInClauseType {
|
||||
CompareTerm(CompareTermQT),
|
||||
CyclicTerm,
|
||||
Writeq,
|
||||
DuplicateTerm,
|
||||
CopyTerm,
|
||||
Eq,
|
||||
Functor,
|
||||
Ground,
|
||||
@@ -377,7 +377,7 @@ impl BuiltInClauseType {
|
||||
&BuiltInClauseType::CompareTerm(qt) => clause_name!(qt.name()),
|
||||
&BuiltInClauseType::CyclicTerm => clause_name!("cyclic_term"),
|
||||
&BuiltInClauseType::Writeq => clause_name!("writeq"),
|
||||
&BuiltInClauseType::DuplicateTerm => clause_name!("duplicate_term"),
|
||||
&BuiltInClauseType::CopyTerm => clause_name!("copy_term"),
|
||||
&BuiltInClauseType::Eq => clause_name!("=="),
|
||||
&BuiltInClauseType::Functor => clause_name!("functor"),
|
||||
&BuiltInClauseType::Ground => clause_name!("ground"),
|
||||
@@ -398,7 +398,7 @@ impl BuiltInClauseType {
|
||||
&BuiltInClauseType::CompareTerm(_) => 2,
|
||||
&BuiltInClauseType::CyclicTerm => 1,
|
||||
&BuiltInClauseType::Writeq => 1,
|
||||
&BuiltInClauseType::DuplicateTerm => 2,
|
||||
&BuiltInClauseType::CopyTerm => 2,
|
||||
&BuiltInClauseType::Eq => 2,
|
||||
&BuiltInClauseType::Functor => 3,
|
||||
&BuiltInClauseType::Ground => 1,
|
||||
@@ -424,7 +424,7 @@ impl BuiltInClauseType {
|
||||
("\\=@=", 2) => Some(BuiltInClauseType::CompareTerm(CompareTermQT::NotEqual)),
|
||||
("=@=", 2) => Some(BuiltInClauseType::CompareTerm(CompareTermQT::Equal)),
|
||||
("writeq", 1) => Some(BuiltInClauseType::Writeq),
|
||||
("duplicate_term", 2) => Some(BuiltInClauseType::DuplicateTerm),
|
||||
("copy_term", 2) => Some(BuiltInClauseType::CopyTerm),
|
||||
("==", 2) => Some(BuiltInClauseType::Eq),
|
||||
("functor", 3) => Some(BuiltInClauseType::Functor),
|
||||
("ground", 1) => Some(BuiltInClauseType::Ground),
|
||||
|
||||
Reference in New Issue
Block a user