Add useful derive statements
This commit is contained in:
parent
6b10cced7c
commit
03e249e791
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user