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 #114

Open
DanBurton opened this issue Mar 14, 2018 · 2 comments
Open

Build failure with ghc 8.4 #114

DanBurton opened this issue Mar 14, 2018 · 2 comments

Comments

@DanBurton
Copy link

Building library for vinyl-0.7.0..
[ 3 of 11] Compiling Data.Vinyl.Core  ( Data/Vinyl/Core.hs, dist/build/Data/Vinyl/Core.o )

Data/Vinyl/Core.hs:229:10: error:
    • No instance for (Semigroup (Rec f '[]))
        arising from the superclasses of an instance declaration
    • In the instance declaration for ‘Monoid (Rec f '[])’
    |
229 | instance Monoid (Rec f '[]) where
    |          ^^^^^^^^^^^^^^^^^^

Data/Vinyl/Core.hs:233:10: error:
    • Could not deduce (Semigroup (Rec f (r : rs)))
        arising from the superclasses of an instance declaration
      from the context: (Monoid (f r), Monoid (Rec f rs))
        bound by the instance declaration at Data/Vinyl/Core.hs:233:10-70
    • In the instance declaration for ‘Monoid (Rec f (r : rs))’
    |
233 | instance (Monoid (f r), Monoid (Rec f rs)) => Monoid (Rec f (r ': rs)) where
    |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@acowley
Copy link
Contributor

acowley commented Mar 15, 2018

Thank you for letting me know! Version 0.8.1 should build against GHC-8.4.1.

@kirelagin
Copy link

kirelagin commented Jan 24, 2020

I believe this was (properly) fixed in vinyl-0.9.1 (dd5d884).

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

No branches or pull requests

3 participants