Hoogle Search

Within LTS Haskell 24.10 (ghc-9.10.2)

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

  1. liftArbitrary :: forall (n :: Nat) a . SNatI n => Gen a -> Gen (Tree n a)

    ral Data.RAVec.Tree

    No documentation available.

  2. liftArbitrary :: forall (n :: Nat) a . SNatI n => Gen a -> Gen (Tree n a)

    ral Data.RAVec.Tree.DF

    No documentation available.

  3. newtype FromSafeArbitrary a

    safe-gen Test.QuickCheck.SafeGen

    Intended to be used as a deriving conduit for Arbitrary from SafeArbitrary. This defines arbitrary as runSafeGen arbitrary, and shrink as genericShrink.

  4. FromSafeArbitrary :: a -> FromSafeArbitrary a

    safe-gen Test.QuickCheck.SafeGen

    No documentation available.

  5. class SafeArbitrary a

    safe-gen Test.QuickCheck.SafeGen

    Like Arbitrary, but with SafeGen instead of Gen. In practice, you probably won't interface with this class directly other than deriving an instance when deriving Arbitrary via FromSafeArbitrary. One exception might be when you're not happy with the way FromSafeArbitrary derives shrink, and you want to manually implement it. In that case, you can manually write arbitrary = runSafeGen safeArbitrary Another example is when working with lazy infinite data, in which case you might want to remove the termination check using arbitrary = runSafeGenNoCheck safeArbitrary.

  6. safeArbitrary :: SafeArbitrary a => SafeGen a

    safe-gen Test.QuickCheck.SafeGen

    No documentation available.

  7. newtype FromSafeArbitrary a

    safe-gen Test.QuickCheck.SafeGen.Generic

    Intended to be used as a deriving conduit for Arbitrary from SafeArbitrary. This defines arbitrary as runSafeGen arbitrary, and shrink as genericShrink.

  8. FromSafeArbitrary :: a -> FromSafeArbitrary a

    safe-gen Test.QuickCheck.SafeGen.Generic

    No documentation available.

  9. class SafeArbitrary a

    safe-gen Test.QuickCheck.SafeGen.Generic

    Like Arbitrary, but with SafeGen instead of Gen. In practice, you probably won't interface with this class directly other than deriving an instance when deriving Arbitrary via FromSafeArbitrary. One exception might be when you're not happy with the way FromSafeArbitrary derives shrink, and you want to manually implement it. In that case, you can manually write arbitrary = runSafeGen safeArbitrary Another example is when working with lazy infinite data, in which case you might want to remove the termination check using arbitrary = runSafeGenNoCheck safeArbitrary.

  10. safeArbitrary :: SafeArbitrary a => SafeGen a

    safe-gen Test.QuickCheck.SafeGen.Generic

    No documentation available.

Page 67 of many | Previous | Next