Currently, dif/2 is sometimes used in cases where (#\=)/2 can propagate more strongly.
This also affects if_/3, where plain unification is currently used instead of (#=)/2. The predicate zcompare/3 allows to use if_/3 with CLP(FD) constraints to the full advantage of both.
Currently,
dif/2is sometimes used in cases where(#\=)/2can propagate more strongly.This also affects
if_/3, where plain unification is currently used instead of(#=)/2. The predicatezcompare/3allows to useif_/3with CLP(FD) constraints to the full advantage of both.