basvandijk / scientific

Arbitrary-precision floating-point numbers represented using scientific notation
BSD 3-Clause "New" or "Revised" License
73 stars 40 forks source link

Fails to build under ghc-7.6.3 #12

Closed erikd closed 10 years ago

erikd commented 10 years ago

Building under 7.6.3 I get:

src/Data/ByteString/Builder/Scientific.hs:19:18:
    Could not find module `Data.ByteString.Lazy.Builder.Extra'
    Perhaps you meant
      Data.ByteString.Lazy.Builder.Extras (from bytestring-0.10.0.2)
      Data.ByteString.Lazy.Builder.ASCII (from bytestring-0.10.0.2)
      Data.ByteString.Lazy.Builder (from bytestring-0.10.0.2)

Does build correctly under 7.8.2.

Looks like 0.3 might need bytestring >= 0.10.4.

bos commented 10 years ago

I tried to fix this, but @basvandijk hasn't pushed his commits to github :-(

Bas, would you like me to set up a Jenkins continuous build so you can tell if you're breaking the build for different flavours of GHC? Since attoparsec and aeson use it, incompatibilities in scientific have significant downstream consequences.

fishcorn commented 10 years ago

I just ran into this while I was following along in Chapter 4 of Beginning Haskell.

Anyone else following this book is going to run into this when they try to install the persistent package. Thankfully there's a workaround: just cabal install scientific-0.2.0.2 before trying to install persistent again. Still though, this package is pretty far upstream...

basvandijk commented 10 years ago

Fixed released as 0.3.0.1.

Bas, would you like me to set up a Jenkins continuous build so you can tell if you're breaking the build for different flavours of GHC? Since attoparsec and aeson use it, incompatibilities in scientific have significant downstream consequences.

@bos if you have a jenkins running that I could piggy back on that would be much appreciated. Otherwise I might add a job on the jenkins I've setup at work.