Giter VIP home page Giter VIP logo

hs-adler32's People

Contributors

redneb avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

hs-adler32's Issues

Build failure with ghc 8.4

Add Semigroup instances for your monoids:

Building library for adler32-0.1.1.0..
[1 of 1] Compiling Data.Digest.Adler32 ( src/Data/Digest/Adler32.hs, dist/build/
Data/Digest/Adler32.o )

src/Data/Digest/Adler32.hs:63:26: error:
    • Could not deduce (Semigroup Adler32) arising from a use of ‘<>’
      from the context: Adler32Src a
        bound by the class declaration for ‘Adler32Src’
        at src/Data/Digest/Adler32.hs:52:7-16
    • In the second argument of ‘($)’, namely
        ‘makeAdler32 c (0 :: Word32) <> adler32' s’
      In the expression:
        extractAdler32 $ makeAdler32 c (0 :: Word32) <> adler32' s
      In an equation for ‘adler32Update’:
          adler32Update c s
            = extractAdler32 $ makeAdler32 c (0 :: Word32) <> adler32' s
   |
63 |         extractAdler32 $ makeAdler32 c (0 :: Word32) <> adler32' s
   |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Data/Digest/Adler32.hs:138:46: error:
    • No instance for (Semigroup Adler32) arising from a use of ‘<>’
    • In the expression: c <> adler32' s
      In the first argument of ‘BL.foldlChunks’, namely
        ‘(\ c s -> c <> adler32' s)’
      In the expression: BL.foldlChunks (\ c s -> c <> adler32' s)
    |
138 |     adler32Update' = BL.foldlChunks (\c s -> c <> adler32' s)
    |                                              ^^^^^^^^^^^^^^^

src/Data/Digest/Adler32.hs:143:10: error:
    • No instance for (Semigroup Adler32)
        arising from the superclasses of an instance declaration
    • In the instance declaration for ‘Monoid Adler32’
    |
143 | instance Monoid Adler32 where
    |          ^^^^^^^^^^^^^^

Per this build failure, this package has been removed from the Stackage nightly build plan. To restore it, please open a PR on the Stackage GitHub repo as usual.

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.