Well for one thing, the name should be more declarative, like equality_truth/2
.
More Related Contents:
- Prolog: a person is a sibling of himself?
- What is the logical ‘not’ in Prolog?
- Using \==/2 or dif/2
- Prolog map procedure that applies predicate to list elements
- What is the difference between ‘ and ” in Prolog?
- Definition of a path/trail/walk
- Definition of Reflexive Transitive Closure
- Most general higher-order constraint describing a sequence of integers ordered with respect to a relation
- Delete vowels in a list
- Finding Unique Items in a List
- Stack overflow in Prolog DCG grammar rule: how to handle large lists efficiently or lazily
- Using a constrained variable with `length/2`
- Complexity of ISO Prolog predicates
- Explanation of a Prolog algorithm to append two lists together
- list of the values in the leaf nodes of binary tree T
- Meaning of instantiation mode indicators in arguments of Prolog predicates
- reversible “binary to number” predicate
- Collect all “minimum” solutions from a predicate
- Knowing when to use cut in prolog
- Good beginners material on Prolog [closed]
- ‘if’ in prolog?
- Prolog: First duplicate value
- Should I avoid tail recursion in Prolog and in general?
- Prolog append with cut operator
- Understanding Difference Lists
- Define graph in Prolog: edge and path, finding if there is a path between two vertices
- PROLOG: Determining if elements in list are equal if order does not matter
- Features of good Prolog code? [closed]
- GNU Prolog assert error
- How to define (and name) the corresponding safe term comparison predicates in ISO Prolog?