Open psilord opened 4 years ago
Well, I have new information.
If we do this:
* (ql:quickload :paiprolog) (in-package :paiprolog)
To load "paiprolog":
Load 1 ASDF system:
paiprolog
; Loading "paiprolog"
(:PAIPROLOG)
* #<PACKAGE "PAIPROLOG">
* (<- (likes a b)) (<- (likes a c)) (<- (likes a f))
LIKES
* LIKES
* LIKES
* (prolog-collect (?x) (likes sandy ?x))
NIL
* (prolog-collect (?x) (likes a ?x))
(F C B)
Than I get more of what I expect. So, in terms of me needing all solutions to a query, this solves my issue.
I was just surprised cause this doesn't appear to be a construct in PAIP's chapter 11.
Thank you.
Hello,
I'm trying to use paiprolog for something, but have run into this issue:
Suppose we do this:
Now here is what happens when we run this:
But what I'm expecting is an output that looks something like this:
Any idea why I'm only getting a SINGLE result?
Thank you!