Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: everlonggg
  • Content: Threads
  • Order by date
  1. everlonggg

    'fail' predicate confusion

    The fail predicate seems a bit unpredictable under certain cases to me. Take the following example. Code: a(1). a(2). b(3). b(4). go:- a(X), write(X). go:- a(X), write(X), b(Y), write(Y). Query this with ?- go, fail. The result is 12134234. How does this make sense? Can somebody explain the...

Part and Inventory Search

Back
Top