约 10,800,000 个结果
在新选项卡中打开链接
  1. What does \\+ mean in Prolog? - Stack Overflow

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

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

    2015年5月25日 · 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

    2021年1月25日 · 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. 'if' in prolog? - Stack Overflow

    2010年5月17日 · 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.

  5. "Not equal" sign in Visual Prolog? - Stack Overflow

    Documentation for the second variant pointed out by Kaarel can be found in this Visual Prolog reference page. However the problem with your code goes a little deeper.

  6. Prolog: Clauses are not together in source-file - Stack Overflow

    2013年5月4日 · Warning: /tmp/test.pl:7: Clauses of small/1 are not together in the source-file With the warning and a line error, one can find and correct the typo more quickly. ISO Prolog …

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

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

  8. Prolog: And-Or expressions (boolean function) - Stack Overflow

    Prolog: And-Or expressions (boolean function) Asked 11 years, 9 months ago Modified 11 years, 9 months ago Viewed 36k times

  9. What is the logical 'not' in Prolog? - Stack Overflow

    2011年12月16日 · In Prolog, the "not" is an example of "negation as failure", but it is felt that \+ will make it clearer to the programmer just what precisely is being asserted in any given rule. …

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

    2012年11月22日 · 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 …