About 12,800,000 results
Open links in new tab
  1. What does \\+ mean in Prolog? - Stack Overflow

    Nov 10, 2009 · What does \+ mean in Prolog? Asked 16 years ago Modified 7 years, 7 months ago Viewed 61k times

  2. What is the difference between == and = in Prolog?

    May 25, 2015 · The = "operator" in Prolog is actually a predicate (with infix notation) =/2 that succeeds when the two terms are unified. Thus X = 2 or 2 = X amount to the same thing, a …

  3. math - Prolog =:= operator - Stack Overflow

    Jan 25, 2021 · There are some special operators in Prolog, one of them is is, however, recently I came across the =:= operator and have no idea how it works. Can someone explain what this …

  4. syntax - Prolog "or" operator, query - Stack Overflow

    Nov 22, 2012 · Prolog "or" operator, query Asked 12 years, 11 months ago Modified 12 years, 6 months ago Viewed 157k times

  5. Define AND, OR, NOT operators in Prolog - Stack Overflow

    Jun 7, 2018 · I have to define a prolog program which gives the truth table for a logic formula like this: (a or non (b and c)) where the logic variables can only have true or false value, and the …

  6. 'if' in prolog? - Stack Overflow

    May 17, 2010 · Is there a way to do an if in prolog, e.g. if a variable is 0, then to do some actions (write text to the terminal). An else isn't even needed, but I can't find any documentation of if.

  7. What's the -> operator in Prolog and how can I use it?

    Nov 21, 2009 · I've read about it in a book but it wasn't explained at all. I also never saw it in a program. Is part of Prolog syntax? What's it for? Do you use it?

  8. Not equal and not unify in Prolog - Stack Overflow

    Jul 14, 2012 · Not equal and not unify in Prolog Asked 12 years, 11 months ago Modified 9 years, 7 months ago Viewed 45k times

  9. operators - @< Symbol In Prolog - Stack Overflow

    Jan 24, 2014 · However, using @</2 you can compare lots of different types of objects in prolog. The comparison evaluation follows the rules described in the link that @Ankur gave. To …

  10. list - What is "!" in Prolog - Stack Overflow

    Specifically, Prolog will never consider the third clause of your nrSubliste/2 rule, i.e. the one ignoring list head with _, if H in the second clause is such that munteMain(H) succeeds. Note …