-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
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 compatible with GHC 8.4.3 #6
Comments
same issue with ghc 8.6.5 Preprocessing library for mezzo-0.3.1.0.. src/Mezzo/Model/Prim.hs:140:29: error: |
Thank you for flagging these up and sorry for the lack of replies! I am aware of the issue – unfortunately Mezzo relies on a lot of type-level hacks which which depend on the particular GHC version I used when writing it two years ago. Since type-level programming is still quite experimental, the typechecking and type inference algorithms have changed in newer GHC versions (and most likely will change in the future), which make Mezzo quite unstable. The repo has a branch named |
Unable to "cabal install" with Haskell platform 8.4.3
Error:
src/Mezzo/Model/Prim.hs:140:29: error:
• Expected kind ‘OptVector t0 ((n0 + m0) - l0)’,
but ‘xs ++ ys’ has kind ‘OptVector t0 ((n0 - l0) + m0)’
• In the second argument of ‘(:-)’, namely ‘(xs ++ ys)’
In the type ‘x :- (xs ++ ys)’
In the type family declaration for ‘++’
|
140 | (x :- xs) ++ ys = x :- (xs ++ ys)
| ^^^^^^^^
cabal: Leaving directory '.'
cabal: Error: some packages failed to install:
mezzo-0.3.1.0-I25ksox6nQT6tXIyxHONIZ failed during the building phase. The
exception was:
ExitFailure 1
The text was updated successfully, but these errors were encountered: