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

fix build failure on GHC-HEAD (importing Any) #34

Merged
merged 2 commits into from Jul 28, 2016

Conversation

ozgurakgun
Copy link
Contributor

GHC-HEAD exports Any from GHC.Types instead of GHC.Prim as it was before.
See https://phabricator.haskell.org/D2049

Thankfully, GHC.Base seems to export Any in both versions.
So we import it from there.

Fixes #27

GHC-HEAD exports Any from GHC.Types instead of GHC.Prim as it was before.
See https://phabricator.haskell.org/D2049

Thankfully, GHC.Base seems to export Any in both versions.
So we import it from there.

Fixes ekmett#27
@oerjan
Copy link
Contributor

oerjan commented Jun 30, 2016

The recommended GHC.* module to import is usually GHC.Exts. As far as I understand, all other GHC.* modules are prone to arbitrary renaming at the whim of the developers.

@ozgurakgun
Copy link
Contributor Author

I am not familiar with ghc-prim at all, so thanks for the pointer @oerjan.

I don't know why travis is not triggered on this PR, but I enabled it on my fork to see if this works with all supported GHC versions: https://travis-ci.org/ozgurakgun/constraints

Looks like it does.

@ekmett ekmett merged commit 4f8a10e into ekmett:master Jul 28, 2016
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

3 participants