takenobu-hs / ghci-hexcalc Goto Github PK
View Code? Open in Web Editor NEWHaskell/GHCi as a Hex-Calculator interactive
Home Page: https://hackage.haskell.org/package/ghci-hexcalc
License: BSD 3-Clause "New" or "Revised" License
Haskell/GHCi as a Hex-Calculator interactive
Home Page: https://hackage.haskell.org/package/ghci-hexcalc
License: BSD 3-Clause "New" or "Revised" License
On Stackage Nightly we are seeing the following failures while trying to build the test suite. We have marked the package as expecting test failures. Let us know if you locate a fix for the issue and want the package tested again.
Test suite failure for package ghci-hexcalc-0.1.1.0
test-ghci-hexcalc: exited with: ExitFailure 1
Full log available at /var/stackage/work/unpack-dir/.stack-work/logs/ghci-hexcalc-0.1.1.0-test.log
src/Data/GHex.hs:143:1: error:
Could not load module ‘Data.Binary.Put’
It is a member of the hidden package ‘binary-0.8.8.0’.
You can run ‘:set -package binary’ to expose it.
(Note: this unloads all the modules in the current scope.)
Use -v (or `:set -v` in ghci) to see a list of the files searched for.
|
143 | import Data.Binary.Put (runPut, putWord32le, putWord64le,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...
src/Data/GHex.hs:145:1: error:
Could not load module ‘Data.Binary.Get’
It is a member of the hidden package ‘binary-0.8.8.0’.
You can run ‘:set -package binary’ to expose it.
(Note: this unloads all the modules in the current scope.)
Use -v (or `:set -v` in ghci) to see a list of the files searched for.
|
145 | import Data.Binary.Get (runGet, getFloatle, getDoublele,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...
Tests fail occasionally with output like the following:
src/Data/GHex.hs:1063: failure in expression `(x1 >= x2 && x2 >= 0 && x1 < hexBitSize) ==> (range1 $ bits x1 x2) == (x1,x2)'
*** Gave up! Passed only 97 tests; 1000 discarded tests.
without extra Arbitrary
instance I have sketched only the following fix:
-- prop> forAll (arbitrary `suchThat` (\(x1, x2) -> x1 >= x2 && x2 >= 0 && x1 < hexBitSize)) $ \(x1,x2) -> range1 ( bits x1 x2) == (x1,x2)
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.