what wrong with this setof
Roelof Wobben <[email protected]>
| Newsgroups | gmane.comp.ai.prolog.swi |
|---|---|
| Message-ID | <[email protected]> |
Hello,
I changed my clause to this :
display_siblings(X,Y) :-
setof(X-Y, (siblings(X,Y), \+X=Y), Sibs),
member((X-Y,Y), Sibs),
\+ (Y@<X, member((Y,X), Sibs)).
So I can see how I can change the output of setof.
But now I see only true or false as output.
Roelof
-------------- next part --------------
HTML attachment scrubbed and removed