Closed UWN closed 1 year ago
?- tuples_in([[A,A]],[[0,1],[1,0]]).
A in 0..1, tuples_in([[A,A]],[[0,1],[1,0]]) % weak, but not incorrect
| false. % would be much better
Maybe more convincing:
?- tuples_in([[A,B]],[[0,1],[2,0]]), A = B.
false.
?- A = B, tuples_in([[A,B]],[[0,1],[2,0]]), A = B.
A = 0, B = 0, unexpected.
As followup to https://github.com/SWI-Prolog/swipl-devel/issues/1160