packages feed

word24 2.0.0 → 2.0.1

raw patch · 2 files changed

+28/−1 lines, 2 files

Files

+ tests/QCUtils.hs view
@@ -0,0 +1,26 @@+module QCUtils where++import Test.QuickCheck+import Test.QuickCheck.Arbitrary+import Test.QuickCheck.Gen++import Data.Int+import Data.Int.Int24+import Data.Word+import Data.Word.Word24++-- Arbitrary/CoArbitrary instances for Int24 and Word24++instance Arbitrary Int24 where+  arbitrary = arbitraryBoundedIntegral+  shrink = shrinkIntegral++instance CoArbitrary Int24 where+  coarbitrary = coarbitraryIntegral++instance Arbitrary Word24 where+  arbitrary = arbitraryBoundedIntegral+  shrink = shrinkIntegral++instance CoArbitrary Word24 where+  coarbitrary = coarbitraryIntegral
word24.cabal view
@@ -1,5 +1,5 @@ name:		    word24-version:        2.0.0+version:        2.0.1 synopsis:       24-bit word and int types for GHC description:	24-bit Word and Int data types. category:       Data@@ -33,6 +33,7 @@   default-language: Haskell2010   type: exitcode-stdio-1.0   main-is: testword24.hs+  other-modules:  QCUtils   hs-source-dirs: tests src    build-depends: