This repository was archived by the owner on Feb 18, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
validate existing equality and identity semantics #88
Labels
Milestone
Comments
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
soc
added a commit
that referenced
this issue
Dec 24, 2024
soc
added a commit
that referenced
this issue
Dec 24, 2024
soc
added a commit
that referenced
this issue
Dec 24, 2024
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
Uh oh!
There was an error while loading. Please reload this page.
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: