Integral -opengl

class (Real a, Enum a) => Integral a
base Prelude
Integral numbers, supporting integer division. Minimal complete definition: quotRem and toInteger
fromIntegral :: (Integral a, Num b) => a -> b
base Prelude
general coercion from integral types
mkIntegralConstr :: Integral a => DataType -> a -> Constr
base Data.Data
arbitraryBoundedIntegral :: (Bounded a, Integral a) => Gen a
QuickCheck Test.QuickCheck.Arbitrary, QuickCheck Test.QuickCheck
Generates an integral number. The number is chosen uniformly from the entire range of the type. You may want to use arbitrarySizedBoundedIntegral instead.
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.
arbitrarySizedIntegral :: Num a => Gen a
QuickCheck Test.QuickCheck.Arbitrary, QuickCheck Test.QuickCheck
Generates an integral number. The number can be positive or negative and its maximum absolute value depends on the size parameter.
coarbitraryIntegral :: Integral a => a -> Gen b -> Gen b
QuickCheck Test.QuickCheck.Arbitrary, QuickCheck Test.QuickCheck
A coarbitrary implementation for integral numbers.
shrinkIntegral :: Integral a => a -> [a]
QuickCheck Test.QuickCheck.Arbitrary, QuickCheck Test.QuickCheck
Shrink an integral number.