0

Assume my knowledge base contains one fact: fact(fact1).

If I know submit a query fact(fact1).

39 ?- fact(fact1).

40 ?- 

it says nothing, which is the equivalent to true. B/c if it's wrong, Prolog responds with false:

38 ?- fact(foobar).
false.

So how can I change it so I get a true. ?

InDaPond
  • 574
  • 3
  • 6
  • 23

0 Answers0