Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
?- assert(p(a)),assert(p(b)),p(X). X = a yes
このクエリの効果と、この特定の結果が返される理由は何ですか?
次のソースを照会したかのようです。
入力.pl:
p(a). p(b).
?- p(X)
p(X)
X = a yes