arbitrarySizedBoundedIntegral +quickcheck

arbitrarySizedBoundedIntegral :: (Bounded a, Integral a) => Gen a
QuickCheck Test.QuickCheck.Arbitrary, QuickCheck Test.QuickCheck
Generates an integral number from a bounded domain. The number is chosen from the entire range of the type, but small numbers are generated more often than big numbers. Inspired by demands from Phil Wadler.