4 ms·
Well, do you mean equality by value or by memory location? I also hope they are not too conservative in the beginning, because we might have to pay for mistake
by madez 11y ago
Well, do you mean equality by value or by memory location?
I also hope they are not too conservative in the beginning, because we might have to pay for mistakes for a long time.
- alexnewman 11y agoYea perhaps it's just not as easy as haskell. But I was trying to make the meta point that not breaking compatibility between releases can be a bit subjective.
- FreeFull 11y agoEven if equality was by memory location in the case where the tuple contains pointers, one would still have to work out how equality would work for tuples of non-pointer types. For example, would (NaN, NaN) match (A, A)? If the implementation makes use of ==, then it wouldn't, and if it uses bitwise equality it would.