fix: Evaluation
This commit is contained in:
parent
d702b9b081
commit
1acd1cfb67
17 changed files with 189 additions and 120 deletions
|
@ -1,13 +1,13 @@
|
|||
package prolog.components
|
||||
|
||||
import prolog.Substitution
|
||||
import prolog.Substituted
|
||||
|
||||
interface Provable {
|
||||
/**
|
||||
* Proves the current [Provable] instance.
|
||||
*
|
||||
* @return a sequence of [Substitution] instances representing the results of the proof.
|
||||
* @return a sequence of [Substituted] instances representing the results of the proof.
|
||||
* If the proof fails, an empty sequence is returned.
|
||||
*/
|
||||
fun prove(): Sequence<Substitution>
|
||||
fun prove(subs: Substituted): Sequence<Substituted>
|
||||
}
|
||||
|
|
Reference in a new issue