Rename function
This commit is contained in:
parent
ab7c6d1828
commit
2ed1e6d89d
@ -117,8 +117,7 @@ where
|
|||||||
Ok((open_formula, remaining_input))
|
Ok((open_formula, remaining_input))
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: rename
|
fn formula<'i, D>(input: &'i str, declarations: &D)
|
||||||
fn variable_free_formula<'i, D>(input: &'i str, declarations: &D)
|
|
||||||
-> Result<(foliage::Formula, &'i str), crate::Error>
|
-> Result<(foliage::Formula, &'i str), crate::Error>
|
||||||
where
|
where
|
||||||
D: foliage::FindOrCreateFunctionDeclaration
|
D: foliage::FindOrCreateFunctionDeclaration
|
||||||
@ -151,7 +150,7 @@ fn formula_statement_body<'i>(input: &'i str, problem: &crate::Problem)
|
|||||||
|
|
||||||
let input = remaining_input;
|
let input = remaining_input;
|
||||||
|
|
||||||
variable_free_formula(input, problem)
|
formula(input, problem)
|
||||||
}
|
}
|
||||||
|
|
||||||
fn input_statement_body<'i>(mut input: &'i str, problem: &crate::Problem)
|
fn input_statement_body<'i>(mut input: &'i str, problem: &crate::Problem)
|
||||||
|
Loading…
Reference in New Issue
Block a user