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 free_variable_declarations: std::rc::Rc<VariableDeclarations>,
|
||||||
pub formula: Formula,
|
pub formula: Formula,
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
use super::terms::*;
|
use super::terms::*;
|
||||||
use super::tokens::*;
|
use super::tokens::*;
|
||||||
|
|
||||||
pub fn formula<D>(input: &str, declarations: &D)
|
pub fn formula<D>(input: &str, declarations: &D) -> Result<crate::OpenFormula, crate::parse::Error>
|
||||||
-> Result<crate::ClosedFormula, crate::parse::Error>
|
|
||||||
where
|
where
|
||||||
D: crate::FindOrCreateFunctionDeclaration + crate::FindOrCreatePredicateDeclaration,
|
D: crate::FindOrCreateFunctionDeclaration + crate::FindOrCreatePredicateDeclaration,
|
||||||
{
|
{
|
||||||
@ -18,7 +17,7 @@ where
|
|||||||
_ => unreachable!(),
|
_ => unreachable!(),
|
||||||
};
|
};
|
||||||
|
|
||||||
Ok(crate::ClosedFormula
|
Ok(crate::OpenFormula
|
||||||
{
|
{
|
||||||
formula,
|
formula,
|
||||||
free_variable_declarations,
|
free_variable_declarations,
|
||||||
|
Loading…
Reference in New Issue
Block a user