Why does SWI-Prolog invent f/2 given only f/1?

后端 未结 0 824
南笙
南笙 2020-12-20 23:28

SWI-Prolog 7.6.4:

?- dif(X, f(Y)), X=f(a).
X = f(a),
dif(f(f(a), Y), f(f(Y), a)).

Note that I use f/1 in the query, but the cons

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