Hoogle Search

Within LTS Haskell 24.8 (ghc-9.10.2)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. arbitraryBoundedIntegral :: (Bounded a, Integral a) => Gen a

    massiv-test Test.Massiv.Utils

    Generates an integral number. The number is chosen uniformly from the entire range of the type. You may want to use arbitrarySizedBoundedIntegral instead.

  2. arbitraryBoundedRandom :: (Bounded a, Random a) => Gen a

    massiv-test Test.Massiv.Utils

    Generates an element of a bounded type. The element is chosen from the entire range of the type.

  3. arbitraryPrintableChar :: Gen Char

    massiv-test Test.Massiv.Utils

    Generates a printable Unicode character.

  4. arbitrarySizedBoundedIntegral :: (Bounded a, Integral a) => Gen a

    massiv-test Test.Massiv.Utils

    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.

  5. arbitrarySizedFractional :: Fractional a => Gen a

    massiv-test Test.Massiv.Utils

    Uniformly generates a fractional number. The number can be positive or negative and its maximum absolute value depends on the size parameter.

  6. arbitrarySizedIntegral :: Integral a => Gen a

    massiv-test Test.Massiv.Utils

    Generates an integral number. The number can be positive or negative and its maximum absolute value depends on the size parameter.

  7. arbitrarySizedNatural :: Integral a => Gen a

    massiv-test Test.Massiv.Utils

    Generates a natural number. The number's maximum value depends on the size parameter.

  8. arbitraryUnicodeChar :: Gen Char

    massiv-test Test.Massiv.Utils

    Generates any Unicode character (but not a surrogate)

  9. arbitraryUShaped :: (Shape sh, Unbox a, Arbitrary a) => sh -> Gen (Array U sh a)

    repa Data.Array.Repa.Arbitrary

    Generates a random unboxed array of a given shape

  10. arbitraryVShaped :: (Shape sh, Arbitrary a) => sh -> Gen (Array V sh a)

    repa Data.Array.Repa.Arbitrary

    Generates a random boxed array of a given shape

Page 12 of many | Previous | Next