You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 18, 2023. It is now read-only.
I'd see defaulting to isequal as a good choice since it'll give you correct results even for the cases where == gives silly results, and I'm under the impression that it's what you should be using for equality comparisons of fields anyhow. That it's inconsistent is in my opinion a bit inconsequential: I'd rather take a == that returns sensible results by default rather than having one that uses == for comparisons, and then having to have a separate isequal method that I'll have to remember to use for my types because == can't be trusted.
Wouldn't it be more consistent if
==
applied==
to all fields? There could be a separate definition forisequal
that appliesisequal
to all fields.The text was updated successfully, but these errors were encountered: