Closed G3Kappa closed 1 year ago
I'm unclear on why SWI requires attributed variables for tabling. It probably has to do with constraint solvers.
For the time being, tabling has been implemented as follows:
:- table
directive;tabled/1
with the (unified) head of the aux predicates as argument;tabled/1
implements SLDT resolution and overrides the regular SLD resolution for the affected predicates. It's working for the Fibonacci sequence, at least.
Waiting on #5.