-
Notifications
You must be signed in to change notification settings - Fork 8
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
GHC 8 Support #163
Comments
Well, I think I'm past all the hard stuff, but its taking longer than expected, so probably another day. |
It just hit me that I promised Neil a while back that I'd update HERMIT to use Are you updating to |
Not in this diff... I figure that will be pretty major in itself. I can have a go at it though. |
Just pushed da8af6b, which makes HERMIT compile with GHC 8. This is not the whole story. (There are TODOs in the commit message, which I plan to address this weekend or next week.) Also, the only remaining dependency to sort out is the |
Oh wait, new |
More bookkeeping: there was talk earlier of replacing |
I think we should just wait until we drop 7.10 support before we move over to |
I'm trying to track down what I think is a GHC bug, so I'm installing GHC HEAD from Git sources. I get the following error message when compiling a freshly
|
@conal Richard renamed that to Best fix would be to move that import to HERMIT.GHC, CPP wrap it to get both versions, then define |
@xich Sounds good. I think it'll be a little more involved, since |
Oh, and maybe we'd rather use the more modern name, |
I made the changes, using the older name " |
Ah, if it is not exported, let's just create our own: tcFun = typeRepTyCon (typeRep (Proxy :: Proxy (Int -> Int))) Has the added benefit of not needing the Internal module at all. All that stuff is in Data.Typeable. |
Also might not even need CPP with that definition. |
Good idea. I'll change it and re-push. |
When I give that
Instead, I'm using type |
Okay. Updated pull request #172. |
Yeah, GHC has it's own I'll comment on the pull request. |
Oh! Thanks for the explanation. |
Just so no one else wastes the time, I'm pretty far along on updating HERMIT to build with GHC 8 RC1, and plan to finish it up tonight.
The text was updated successfully, but these errors were encountered: