fix: Evaluation
This commit is contained in:
parent
d702b9b081
commit
1acd1cfb67
17 changed files with 189 additions and 120 deletions
|
@ -1,6 +1,6 @@
|
|||
package prolog.components.terms
|
||||
|
||||
import prolog.Substitution
|
||||
import prolog.Substituted
|
||||
import prolog.components.Program
|
||||
import prolog.components.Provable
|
||||
|
||||
|
@ -14,5 +14,5 @@ import prolog.components.Provable
|
|||
abstract class Goal : Term, Provable {
|
||||
abstract val functor: Functor
|
||||
|
||||
override fun prove(): Sequence<Substitution> = Program.solve(this)
|
||||
override fun prove(subs: Substituted): Sequence<Substituted> = Program.solve(this, subs)
|
||||
}
|
||||
|
|
Reference in a new issue