Getting different results than Schrijvers

Anne Ogborn <[email protected]>
Newsgroups gmane.comp.ai.prolog.swi
Message-ID <[email protected]>
This example by Schrijvers (slide 94 of his presentation online) :- chr_constraint neq/2. neq(X,X) <=> fail.
neq(X,Y) <=> X \= Y | true. ?- neq(a,a).
No
?- neq(a,b).
Yes
?- neq(A,B).
neq(A,B) However in  SWI-Prolog (Multi-threaded, 64 bits, Version 7.1.9-11-g3c17aed) 2 ?- neq(A,B).
false.

Anybody know whats going on?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.