We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
SupportsEquality
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
Not all containers support real equality check. Sometimes we need to know what exactly can be compared. For example:
IO.from_value(1) == IO.from_value(1)
Future.from_value(1) != Future.from_value(1)
We can add equals alias to __eq__ for types that do support real equality. We also need to support Equality laws. See #533
equals
__eq__
Equality
The text was updated successfully, but these errors were encountered:
IOLikeN
IOBasedN
Successfully merging a pull request may close this issue.
Not all containers support real equality check. Sometimes we need to know what exactly can be compared.
For example:
IO.from_value(1) == IO.from_value(1)
Future.from_value(1) != Future.from_value(1)
We can add
equals
alias to__eq__
for types that do support real equality.We also need to support
Equality
laws. See #533The text was updated successfully, but these errors were encountered: