Skip to content
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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

414owen
Copy link

@414owen 414owen commented Jan 12, 2022

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.

@@ -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"
Copy link
Author

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,
Copy link
Author

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
Copy link
Author

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant