Hoogle Search

Within LTS Haskell 24.7 (ghc-9.10.2)

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

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

    tasty-quickcheck Test.Tasty.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.

  2. arbitrarySizedFractional :: Fractional a => Gen a

    tasty-quickcheck Test.Tasty.QuickCheck

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

  3. arbitrarySizedIntegral :: Integral a => Gen a

    tasty-quickcheck Test.Tasty.QuickCheck

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

  4. arbitrarySizedNatural :: Integral a => Gen a

    tasty-quickcheck Test.Tasty.QuickCheck

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

  5. arbitraryUnicodeChar :: Gen Char

    tasty-quickcheck Test.Tasty.QuickCheck

    Generates any Unicode character (but not a surrogate)

  6. arbitraryGeneratesOnlyValid :: (Show a, Validity a, Arbitrary a) => Property

    genvalidity-hspec Test.Validity

    arbitrary only generates valid data

    arbitraryGeneratesOnlyValid @Int
    

  7. arbitrarySpec :: (Typeable a, Show a, Validity a, Arbitrary a) => Spec

    genvalidity-hspec Test.Validity

    A Spec that specifies that arbitrary only generates data that satisfy isValid Example usage:

    arbitrarySpec @Int
    

  8. arbitraryGeneratesOnlyValid :: (Show a, Validity a, Arbitrary a) => Property

    genvalidity-hspec Test.Validity.Arbitrary

    arbitrary only generates valid data

    arbitraryGeneratesOnlyValid @Int
    

  9. arbitrarySpec :: (Typeable a, Show a, Validity a, Arbitrary a) => Spec

    genvalidity-hspec Test.Validity.Arbitrary

    A Spec that specifies that arbitrary only generates data that satisfy isValid Example usage:

    arbitrarySpec @Int
    

  10. arbitraryGeneratesOnlyValid :: (Show a, Validity a, Arbitrary a) => Property

    genvalidity-sydtest Test.Syd.Validity

    arbitrary only generates valid data

    arbitraryGeneratesOnlyValid @Int
    

Page 10 of many | Previous | Next