Declare collection types for declarations
This commit is contained in:
parent
03e249e791
commit
72db7c448b
@ -35,6 +35,8 @@ pub struct FunctionDeclaration
|
||||
pub arity: usize,
|
||||
}
|
||||
|
||||
pub type FunctionDeclarations = std::collections::HashSet<std::rc::Rc<FunctionDeclaration>>;
|
||||
|
||||
#[derive(Eq, Hash, PartialEq)]
|
||||
pub struct PredicateDeclaration
|
||||
{
|
||||
@ -42,6 +44,8 @@ pub struct PredicateDeclaration
|
||||
pub arity: usize,
|
||||
}
|
||||
|
||||
pub type PredicateDeclarations = std::collections::HashSet<std::rc::Rc<PredicateDeclaration>>;
|
||||
|
||||
#[derive(Eq, Hash, PartialEq)]
|
||||
pub struct VariableDeclaration
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user