Git Product home page Git Product logo

generic-monoid's People

Contributors

3noch avatar luke-clifton avatar tchoutri avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

generic-monoid's Issues

Example doesn't work?

I pasted the example into a file that I was working with:

data X = X [Int] String
  deriving (Generic, Show)
  deriving Semigroup via GenericSemigroup X

I get the following error:

src/Control/Monad/Bayes/Traced/Common.hs:63:12: error:
    • Couldn't match representation of type ‘GenericSemigroup X’
                               with that of ‘X’
        arising from the coercion of the method ‘<>’
          from type ‘GenericSemigroup X
                     -> GenericSemigroup X -> GenericSemigroup X’
            to type ‘X -> X -> X’
      The data constructor ‘Data.Semigroup.Generic.GenericSemigroup’
        of newtype ‘GenericSemigroup’ is not in scope
    • When deriving the instance for (Semigroup X)
   |
63 |   deriving Semigroup via GenericSemigroup X

I'm using GHC 9.2.4, possibly something has changed in the meantime?

Hackage revision for base 4.18 (GHC 9.4)

Hello,

Would it be possible to make a Hackage revision to loosen the bounds on base to include base-4.18? This would allow to build generic-monoid with GHC-9.4.

generic-monoid is the only package preventing me from compiling tmp-postgres using GHC 9.4.

Thank you!

Stackage release?

This is a good and useful package that I’m using in production. Could it be added to a Stackage LTS release?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.