basvandijk / scientific

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

Tighten lower bound on vector #46

Closed hvr closed 7 years ago

hvr commented 7 years ago

versions prior to vector-0.7 result in a compile failure:

Preprocessing library scientific-0.3.4.9...
[5 of 7] Compiling Data.Scientific  ( src/Data/Scientific.hs, /tmp/scientific-0.3.4.9/dist-newstyle/build/x86_64-linux/ghc-7.4.2/scientific-0.3.4.9/build/Data/Scientific.o )

src/Data/Scientific.hs:580:29: Not in scope: `V.unsafeFreeze'
hvr commented 7 years ago

PS: I also fixed up the meta-data for all affected scientific-0.3.4.* releases on Hackage

basvandijk commented 7 years ago

Ok thanks!

I would like to upload release 0.3.4.10 to Hackage which also includes @phadej integer-logarithms work.

However I get the following error:

This version of the package has already been uploaded. As a matter of policy we do not allow package tarballs to be changed after a release (so we can guarantee stable md5sums etc). The usual recommendation is to upload a new version, and if necessary blacklist the existing one. In extraordinary circumstances, contact the administrators.

Do you have any idea why I get that error when trying to upload scientific-0.3.4.10.tar.gz.

hvr commented 7 years ago

@basvandijk that's becasue there is already such a version...

https://hackage.haskell.org/package/scientific-0.3.4.10 "Uploaded Mon Jan 2 22:34:28 UTC 2017 by BasVanDijk"

PS: could it be that you fell victim to our CDN's annoying cache TTL?

basvandijk commented 7 years ago

PS: could it be that you fell victim to our CDN's annoying cache TTL?

I could have sworn I got the error on the initial upload.

What I am sure about is that when I refreshed my page after the error I didn't see the 0.3.4.10 in the list of versions. So that can definitely be explained by an out-of-date cache.