Skip to content

Fix compilation in GHC >= 8.8 #1

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

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

Fix compilation in GHC >= 8.8 #1

wants to merge 3 commits into from

Conversation

k0001
Copy link

@k0001 k0001 commented Jun 19, 2020

Replace uses of fail in pinary's Put monad with error. Put doesn't implement fail anymore in newer GHCs, and fail was error before anyway.

To make your job easier, I went ahead and pinned a newer default nixpkgs version and bumped the library version to 0.11.2.

I built and ran the tests with GHC 8.6.5, GHC 8.8.3, GHC 8.10.1 and GHCJS 8.6.

Thanks!

k0001 added 3 commits June 19, 2020 21:22
Replace uses of `fail` in `pinary`'s `Put` monad with `error`. `Put`
doesn't implement `fail` anymore in newer GHCs, and `fail` was `error`
before anyway.
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.

1 participant