How to write predicate that checks whether for two same X values there are different Y values?

前端 未结 0 1426
执念已碎
执念已碎 2021-01-16 17:35

I\'m trying to write a predicate in Prolog that should work with a set of facts like these:

value(a,b)
value(d,f)
value(p,k)

Where the first

相关标签:
回答
  • 消灭零回复
提交回复
热议问题