setof question

Roelof Wobben <[email protected]>
Newsgroups gmane.comp.ai.prolog.swi
Message-ID <[email protected]>
Hello, 
 
Im now experimenting with setof.
 
But I wonder if I can output more then 1 atom.
As far as I know now I have to do :
 
setof(X, parents(X,Y), X) 
 
Can I somehow print out both. 
So the output will be something like this:
 
x = father  y=mother. 
 
Roelof
 
 		 	   		  
-------------- next part --------------
HTML attachment scrubbed and removed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.