#2647: Serious typo in IntMap.hs
----------------------------------+-----------------------------------------
Reporter: sedillard | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: libraries (other) | Version: 6.8.3
Severity: critical | Resolution:
Keywords: containers IntMap | Testcase:
Architecture: Unknown/Multiple | Os: Unknown/Multiple
----------------------------------+-----------------------------------------
Comment (by sedillard):
The properties are fine. (Well, each one on its own is fine. Together they
don't cover the entire library, but that's another issue.) The problem was
that the default Arbitrary instance for Int generates small numbers, so
building on top of that we get trees filled with small numbers. I've
changed the Arbitrary instance for IntMap / IntSet to flip random bits
before building the tree.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2647#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs