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
BaseEq
Many instances of BaseEq in What4.Expr.Builder sort their operands:
What4.Expr.Builder
what4/what4/src/What4/Expr/Builder.hs
Line 1770 in 038e948
Line 1773 in 038e948
Line 2081 in 038e948
Line 2759 in 038e948
Line 2768 in 038e948
But some don't:
Line 3235 in 038e948
Line 3474 in 038e948
Line 3791 in 038e948
The latter probably should too. In fact, we should probably have a helper
baseEq :: BaseTypeRepr t -> Expr t -> Expr t -> Expr t baseEq t x y = BaseEq t (min x y) (max x y)
with some Haddocks about why this is generally a good idea.
The text was updated successfully, but these errors were encountered:
This baseEq helper should also probably encapsulate the following common rewrite:
baseEq
Lines 2066 to 2067 in 038e948
Sorry, something went wrong.
No branches or pull requests
Many instances of
BaseEq
inWhat4.Expr.Builder
sort their operands:what4/what4/src/What4/Expr/Builder.hs
Line 1770 in 038e948
what4/what4/src/What4/Expr/Builder.hs
Line 1773 in 038e948
what4/what4/src/What4/Expr/Builder.hs
Line 2081 in 038e948
what4/what4/src/What4/Expr/Builder.hs
Line 2759 in 038e948
what4/what4/src/What4/Expr/Builder.hs
Line 2768 in 038e948
But some don't:
what4/what4/src/What4/Expr/Builder.hs
Line 3235 in 038e948
what4/what4/src/What4/Expr/Builder.hs
Line 3474 in 038e948
what4/what4/src/What4/Expr/Builder.hs
Line 3791 in 038e948
The latter probably should too. In fact, we should probably have a helper
with some Haddocks about why this is generally a good idea.
The text was updated successfully, but these errors were encountered: