Add useful derive statements

This commit is contained in:
2020-01-31 13:52:57 +01:00
parent 6b10cced7c
commit 03e249e791

View File

@@ -28,12 +28,14 @@ pub enum UnaryOperator
// Primitives
#[derive(Eq, Hash, PartialEq)]
pub struct FunctionDeclaration
{
pub name: String,
pub arity: usize,
}
#[derive(Eq, Hash, PartialEq)]
pub struct PredicateDeclaration
{
pub name: String,