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

Open
DanBurton opened this issue Mar 15, 2018 · 0 comments
Open

Build failure with ghc 8.4 #10

DanBurton opened this issue Mar 15, 2018 · 0 comments

Comments

@DanBurton
Copy link

Add semigroup instances.
See also: https://ghc.haskell.org/trac/ghc/wiki/Migration/8.4#SemigroupMonoidsuperclasses

[ 4 of 25] Compiling Network.PagerDuty.Internal.Types ( src/Network/PagerDuty/Internal/Types.hs, dist/build/Network/PagerDuty/Internal/Types.o )

src/Network/PagerDuty/Internal/Types.hs:56:25: error:
    • No instance for (Semigroup (CSV a))
        arising from the 'deriving' clause of a data type declaration
      Possible fix:
        use a standalone 'deriving instance' declaration,
          so you can specify the instance context yourself
    • When deriving the instance for (Monoid (CSV a))
   |
56 |     deriving (Eq, Show, Monoid)
   |                         ^^^^^^

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

1 participant