-
-
Notifications
You must be signed in to change notification settings - Fork 37
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
Support ghc 8.10 #129
base: master
Are you sure you want to change the base?
Support ghc 8.10 #129
Conversation
@@ -434,7 +434,7 @@ codeGenCase opVal alts bindingGen = do | |||
(Alt DefaultPat _, _) -> True | |||
_ -> False | |||
(defaultAlts, normalAlts) = List.partition isDefault alts | |||
when (length defaultAlts > 1) $ fail "multiple default patterns" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was complaining that Identity
didn't implement MonadFail
.
I think that means it was calling error
before this change anyway.
@@ -244,7 +244,7 @@ library | |||
optparse-applicative, | |||
directory, | |||
pretty-simple, | |||
functor-infix, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I looked into getting functor-infix
to increase its bounds, but the author is unresponsive, so I think it's best to switch libraries.
I prefer composition-extra
's approach anyway. No TH necessary.
@@ -260,7 +260,8 @@ library | |||
deepseq, | |||
binary, | |||
unix, | |||
libffi | |||
libffi, | |||
data-fix |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think recursion-schemes
used to reexport Fix
...
Motivation for this change:
Well I ran
nix-shell shell.nix
over an hour ago and it still hasn't finished...With this change, all you need to run to get a working environment is
nix-shell -p ghc cabal llvmPackages_7.llvm pkg-config libffi
, and your binary caches will work their magic.I had to make some changes to
llvm-hs
, I'll try upstreaming them.Some end-to-end tests are failing because of missing
*.binary
files. Not sure what the deal is. I'll see if the CI has more luck.