fix frontend::Operation::new_entry + doc improvements (#370)
This commit is contained in:
parent
4fa285d9fb
commit
7f120f026d
5 changed files with 206 additions and 222 deletions
|
|
@ -227,6 +227,14 @@ impl CustomPredicate {
|
|||
) -> Result<Self> {
|
||||
Self::new(params, name, false, statements, args_len, wildcard_names)
|
||||
}
|
||||
/// Creates a new custom predicate.
|
||||
///
|
||||
/// # Arguments
|
||||
/// * `name` - The name of the custom predicate.
|
||||
/// * `conjunction` - `true` for an `and` predicate, `false` for an `or` predicate.
|
||||
/// * `statements` - The statements required to apply the custom predicate.
|
||||
/// * `args_len` - The number of public arguments.
|
||||
/// * `wildcard_names` - The names of the arguments (public and private).
|
||||
pub fn new(
|
||||
params: &Params,
|
||||
name: String,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue