Giter Club home page Giter Club logo

bytestring-strict-builder's People

Contributors

github-actions[bot] avatar nikita-volkov avatar robx avatar sjakobi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

bytestring-strict-builder's Issues

Possibly too lax lower bound on `bytestring`

With GHC 7.6.3 (which comes w/ bytestring-0.10.0.2, which the solver tries to preferably select if possible) I see the following compile-failure
(see also http://104.239.175.197:8080/package/bytestring-strict-builder#GHC-7.6/bytestring-strict-builder-0.4.2)

Configuring component lib from bytestring-strict-builder-0.4.2...
Preprocessing library bytestring-strict-builder-0.4.2...

library/ByteString/StrictBuilder.hs:29:18:
    Could not find module `Data.ByteString.Builder.Internal'
    It is a member of the hidden package `bytestring-0.10.8.1'.
    Perhaps you need to add `bytestring' to the build-depends in your .cabal file.
    It is a member of the hidden package `bytestring-builder-0.10.8.1.0'.
    Perhaps you need to add `bytestring-builder' to the build-depends in your .cabal file.
    Use -v to see a list of the files searched for.

Conflicting exports for `unzip` with GHC HEAD

Building with GHC HEAD reveals:

library/ByteString/StrictBuilder/Prelude.hs:2:5: error: [GHC-69158]
    Conflicting exports for ‘unzip’:
       ‘module Exports’ exports ‘Exports.unzip’
         imported from ‘Data.Functor’ at library/ByteString/StrictBuilder/Prelude.hs:29:1-30
       ‘module Exports’ exports ‘Exports.unzip’
         imported from ‘Prelude’ at library/ByteString/StrictBuilder/Prelude.hs:73:1-203
         (and originally defined in ‘GHC.List’)
  |
2 |   ( module Exports,
  |

That's because Data.Functor now offers a polymorphic unzip.

How would you like to resolve it, in favor of Prelude.unzip on lists or Data.Functor.unzip on any Functor?

Build fails for stackage lts >= 7.0 (ghc-8.0.1)

I was able to fix it by requiring base-prelude-1.2.0.1. I guess you should either require >=1.2 in cabal or import Ptr from the base.

    [4 of 5] Compiling ByteString.StrictBuilder.Population ( library/ByteString/StrictBuilder/Population.hs, .stack-work/dist/x86_64-linux-nix/Cabal-1.24.0.0/build/ByteString/StrictBuilder/Population.o )
    
    /run/user/1000/stack12133/bytestring-strict-builder-0.4.3/library/ByteString/StrictBuilder/Population.hs:13:39: error:
        Not in scope: type constructor or class `Ptr'
    
    /run/user/1000/stack12133/bytestring-strict-builder-0.4.3/library/ByteString/StrictBuilder/Population.hs:13:56: error:
        Not in scope: type constructor or class `Ptr'

Build fails on GHC 8.2.2


library/ByteString/StrictBuilder/Population.hs:24:3: error:
    ‘<>’ is not a (visible) method of class ‘Semigroup’
   |
24 |   (<>) = mappend
   |   ^^^^

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.