-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
validate existing equality and identity semantics #88
Labels
Milestone
Comments
soc
added
enhancement
improving existing functionality
good first issue
good for newcomers
labels
Dec 18, 2023
soc
added a commit
that referenced
this issue
Dec 18, 2023
soc
added a commit
that referenced
this issue
Dec 18, 2023
#90 has been split from this issue. |
soc
added a commit
that referenced
this issue
Dec 18, 2023
soc
added a commit
that referenced
this issue
Dec 28, 2023
soc
added a commit
that referenced
this issue
Dec 28, 2023
soc
added a commit
that referenced
this issue
Dec 28, 2023
soc
added a commit
that referenced
this issue
Jun 1, 2024
soc
added a commit
that referenced
this issue
Jun 1, 2024
soc
added a commit
that referenced
this issue
Jun 1, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Let's avoid a design embarrassment such as rust-lang/rfcs#3535 and ensure/test that the semantics work correctly as specified in https://soc.me/languages/equality-and-identity-part3.
This means
Identity
compares bits,Equality
offers a user-provided equality, andHash
works to facilitate patterns such asidentical || equal
that are commonly found in hash-based collections.contains
usesidentical || equal
has
toincludes
, check and test that it usesidentical
Identity
, because the compiler does not derive them automatically right nownote: all tests should include special floating-point values (zeros, NaNs, infinities).
The text was updated successfully, but these errors were encountered: