this is simple yet cannot seem to grasp it I have these "colors"
color(blue).
color(red).
color(white).
using setof
I need to get all possible combinations of these colors in a list
It would be great if you can provide a brief explanation. I tried this query
setof(X,color(X),Colors).
which failed obviously
Thanks