We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
So we need to override ==/!= on TrueClass, FalseClass, Float, Integer, Rational, etc.
==
!=
TrueClass
FalseClass
Float
Integer
Rational
This could cause performance issues, but the alternative is a lot of brokenness. Perhaps we need a bit of C to improve performance here.
This used to sort of work, but not in any consistent way.
The text was updated successfully, but these errors were encountered:
This is done now, it still doesn't quite handle all cases (specs have the failing cases).
Sorry, something went wrong.
Btw how do you plan on handling .eql? and .equal?
.eql?
.equal?
That would be mainly useful for keying by Z3 AST object?
I think this should already work, since they're all immutable and Z3 interns them, so actually same object should be returned for anything identical.
Z3 objects shouldn't .eql? or .equal? anything else, so I do't think we need to override anything.
(unless I'm missing something)
No branches or pull requests
So we need to override
==
/!=
onTrueClass
,FalseClass
,Float
,Integer
,Rational
, etc.This could cause performance issues, but the alternative is a lot of brokenness. Perhaps we need a bit of C to improve performance here.
This used to sort of work, but not in any consistent way.
The text was updated successfully, but these errors were encountered: