-
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
nbt-0.7 is not compiling (use of 'fail' in Data/NBT.hs) #12
Comments
Thank you! I will try to take a look this weekend. |
There are two uses of I can submit a pull request, but it is just a one-liner, plus version bump. |
If you add me as a maintainer here and on hackage, I can upload a new version. I maintain this library, https://github.com/stepcut/minecraft-data And it currently does not build on anything higher than GHC 8.6 due to |
Any chance of this being resolved? I don't have any particular rush (I had just wanted to play with NBT and noticed a package already existed, and so looked here and noticed it had an error) but this seems like a fairly small issue to just allow to be a showstopper. |
I am trying to compile nbt-0.7 with ghc 8.8.3 (stac lts-16.1) and get the following error:
I tracked the problem down and fount that the new version of GHC has dropped the fail function for Monads. See the proposal. A suiting fix would be replacing
fail
witherror
as that was the default behaviour of thePutM
monad instance.The text was updated successfully, but these errors were encountered: