Thanks Parashurama & Varriount, that helps a lot. I know where I made the mistake.
LeuGim: I have == proc defined for XObjRef, so the comparison would return true but I that's not "value equality" I want (my use case: using an object as a sentinel value).
