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
a <= Max x (Max a y)
ghc-typelits-extra doesn't take advantage of the semilattice on max. But this is a strange state of affairs, since the following reduces correctly:
ghc-typelits-extra
a <= Max a (Max x y)
The text was updated successfully, but these errors were encountered:
I believe that's hardcoded here:
ghc-typelits-extra/src/GHC/TypeLits/Extra/Solver.hs
Lines 210 to 211 in 055f5c8
Sorry, something went wrong.
No, that indeed observes: x <= Max x y and y <= Max x y.
x <= Max x y
y <= Max x y
No branches or pull requests
ghc-typelits-extra
doesn't take advantage of the semilattice on max. But this is a strange state of affairs, since the following reduces correctly:a <= Max a (Max x y)
The text was updated successfully, but these errors were encountered: