`
(deftest test-tie-disequality
(is (= (run* [q]
(nom/fresh [a b]
(!= (nom/tie a a) 'hello)))
'(_0)))
(is (= (run* [q]
(nom/fresh [a b]
(!= (nom/tie a a) (nom/tie b b))))
())))
`
Currently, the first causes an error, because IPersistentMap (which gets called because Tie is a record!) assumes that the the other term is also a record (that seems like a bug). If we revert the commit which makes Tie a record, this works.
The other one succeeds, when it should fail. This is regardless of whether Tie is a record or not.