-
Notifications
You must be signed in to change notification settings - Fork 32
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
Build failure (GHC 8 related?) #4
Comments
Fortunately, there is a pretty simple workaround here, which is to just change those four instances like this: -- Before
instance ParseRecord Int
-- After
instance ParseRecord Int where
parseRecord = fmap getOnly parseRecord However, it's still troubling that In the meantime, could you try to check out the https://github.com/Gabriel439/Haskell-Optparse-Generic-Library/tree/ghc8_workaround |
@Gabriel439, just checked -- it builds fine. Thank you! |
Alright, I merged the workaround into |
So actually I did a bit more research and it looks like this removal of https://ghc.haskell.org/trac/ghc/ticket/10512 ... so in this case the workaround is in fact the appropriate solution that the GHC devs had in mind for this sort of thing. The |
I get this:
The text was updated successfully, but these errors were encountered: