I am writing some anonymous predicates and ran into the following case:
Code: Select all
?- logtalk << call([X, Y, Z]>>Z = X, 1, 1, T). ERROR: Undefined procedure: (=)/5 ERROR: However, there are definitions for: ERROR: (=)/2 ERROR: (=)/2 ?- callable(Z = X). true. ?- logtalk << call([X, Y, Z]>>(Z = X), 1, 1, T). T = 1.
Thanks in advance for your answer