nikita-volkov / bytestring-strict-builder Goto Github PK
View Code? Open in Web Editor NEWAn efficient strict bytestring builder
Home Page: http://hackage.haskell.org/package/bytestring-strict-builder
License: MIT License
An efficient strict bytestring builder
Home Page: http://hackage.haskell.org/package/bytestring-strict-builder
License: MIT License
This affects the most recent release, and was propagating failures into reverse dependencies
I've revised the affected release according: http://hackage.haskell.org/package/bytestring-strict-builder-0.4.5.1/revisions/
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.
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
?
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'
library/ByteString/StrictBuilder/Population.hs:24:3: error:
‘<>’ is not a (visible) method of class ‘Semigroup’
|
24 | (<>) = mappend
| ^^^^
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.