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.
arbitrarySizedBoundedIntegral :: (Bounded a, Integral a) => Gen atasty-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.
arbitrarySizedFractional :: Fractional a => Gen atasty-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.
arbitrarySizedIntegral :: Integral a => Gen atasty-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.
arbitrarySizedNatural :: Integral a => Gen atasty-quickcheck Test.Tasty.QuickCheck Generates a natural number. The number's maximum value depends on the size parameter.
arbitraryUnicodeChar :: Gen Chartasty-quickcheck Test.Tasty.QuickCheck Generates any Unicode character (but not a surrogate)
arbitraryGeneratesOnlyValid :: (Show a, Validity a, Arbitrary a) => Propertygenvalidity-hspec Test.Validity arbitrary only generates valid data
arbitraryGeneratesOnlyValid @Int
arbitrarySpec :: (Typeable a, Show a, Validity a, Arbitrary a) => Specgenvalidity-hspec Test.Validity A Spec that specifies that arbitrary only generates data that satisfy isValid Example usage:
arbitrarySpec @Int
arbitraryGeneratesOnlyValid :: (Show a, Validity a, Arbitrary a) => Propertygenvalidity-hspec Test.Validity.Arbitrary arbitrary only generates valid data
arbitraryGeneratesOnlyValid @Int
arbitrarySpec :: (Typeable a, Show a, Validity a, Arbitrary a) => Specgenvalidity-hspec Test.Validity.Arbitrary A Spec that specifies that arbitrary only generates data that satisfy isValid Example usage:
arbitrarySpec @Int
arbitraryGeneratesOnlyValid :: (Show a, Validity a, Arbitrary a) => Propertygenvalidity-sydtest Test.Syd.Validity arbitrary only generates valid data
arbitraryGeneratesOnlyValid @Int