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

Build failure with ghc 8.4 #5

Closed
DanBurton opened this issue Mar 12, 2018 · 0 comments · Fixed by #8
Closed

Build failure with ghc 8.4 #5

DanBurton opened this issue Mar 12, 2018 · 0 comments · Fixed by #8

Comments

@DanBurton
Copy link

Add an instance for semigroup.

Building library for heap-1.0.3..
[1 of 3] Compiling Data.Heap.Internal ( Data/Heap/Internal.hs, dist/build/Data/Heap/Internal.o )

Data/Heap/Internal.hs:69:10: error:
    • Could not deduce (Semigroup (HeapT prio val))
        arising from the superclasses of an instance declaration
      from the context: Ord prio
        bound by the instance declaration at Data/Heap/Internal.hs:69:10-46
    • In the instance declaration for ‘Monoid (HeapT prio val)’
   |
69 | instance (Ord prio) => Monoid (HeapT prio val) where
   |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

This package has been removed from the Stackage nightly builds. To restore, please open a PR on the Stackage github repo as usual.

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 a pull request may close this issue.

1 participant