About 11,700,000 results
Open links in new tab
  1. 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 …

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

    May 25, 2015 · Prolog documentation. \= means the two terms cannot be unified, i.e. that unification fails. As with all applications of negation as failure, "not unified" does not (and …

  3. What does \\+ mean in Prolog? - Stack Overflow

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

  4. 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 …

  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. 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

  7. '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.

  8. Newest 'Prolog' Questions - Stack Overflow

    Sep 29, 2016 · How do I represent and manipulate atoms with capital letters in Prolog, without them being interpreted as variables? I'm developing a program in Prolog that interprets a …

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

    Nov 22, 2012 · 30 I'm working on some prolog that I'm new to. I'm looking for an "or" operator registered(X, Y), Y=ct101, Y=ct102, Y=ct103. Here's my query. What I want to write is code …

  10. What is the difference between :- and ?- in Prolog?

    Oct 24, 2018 · In ISO Prolog, :- is used for directives like operator declarations only. The ?- operator is also defined but no meaning is given to it. These operators stem from the DEC …