Rename ClosedFormula to OpenFormula
This commit is contained in:
parent
75e97a5c07
commit
ae46634d67
@ -556,7 +556,7 @@ impl Formula
|
||||
}
|
||||
}
|
||||
|
||||
pub struct ClosedFormula
|
||||
pub struct OpenFormula
|
||||
{
|
||||
pub free_variable_declarations: std::rc::Rc<VariableDeclarations>,
|
||||
pub formula: Formula,
|
||||
|
@ -1,8 +1,7 @@
|
||||
use super::terms::*;
|
||||
use super::tokens::*;
|
||||
|
||||
pub fn formula<D>(input: &str, declarations: &D)
|
||||
-> Result<crate::ClosedFormula, crate::parse::Error>
|
||||
pub fn formula<D>(input: &str, declarations: &D) -> Result<crate::OpenFormula, crate::parse::Error>
|
||||
where
|
||||
D: crate::FindOrCreateFunctionDeclaration + crate::FindOrCreatePredicateDeclaration,
|
||||
{
|
||||
@ -18,7 +17,7 @@ where
|
||||
_ => unreachable!(),
|
||||
};
|
||||
|
||||
Ok(crate::ClosedFormula
|
||||
Ok(crate::OpenFormula
|
||||
{
|
||||
formula,
|
||||
free_variable_declarations,
|
||||
|
Loading…
Reference in New Issue
Block a user