Hoogle Search

Within LTS Haskell 24.64 (ghc-9.10.3)

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

  1. producesValidsOnArbitrary3 :: (Show a, Show b, Show c, Show d, Arbitrary a, Arbitrary b, Arbitrary c, Validity d) => (a -> b -> c -> d) -> Property

    genvalidity-sydtest Test.Syd.Validity.Functions.Validity

    No documentation available.

  2. producesValidsOnGen :: (Show a, Show b, Validity b) => (a -> b) -> Gen a -> (a -> [a]) -> Property

    genvalidity-sydtest Test.Syd.Validity.Functions.Validity

    The function produces valid output when the input is generated as specified by the given generator.

  3. producesValidsOnGens2 :: (Show a, Show b, Show c, Validity c) => (a -> b -> c) -> Gen (a, b) -> ((a, b) -> [(a, b)]) -> Property

    genvalidity-sydtest Test.Syd.Validity.Functions.Validity

    No documentation available.

  4. producesValidsOnGens3 :: (Show a, Show b, Show c, Show d, Validity d) => (a -> b -> c -> d) -> Gen (a, b, c) -> ((a, b, c) -> [(a, b, c)]) -> Property

    genvalidity-sydtest Test.Syd.Validity.Functions.Validity

    No documentation available.

  5. module Test.Syd.Validity.GenValidity

    Tests for GenValidity instances You will need TypeApplications to use these.

  6. genGeneratesInvalid :: (Show a, Validity a) => Gen a -> Property

    genvalidity-sydtest Test.Syd.Validity.GenValidity

    The given generator generates only invalid data points

  7. genGeneratesValid :: (Show a, Validity a) => Gen a -> Property

    genvalidity-sydtest Test.Syd.Validity.GenValidity

    The given generator generates only valid data points

  8. genValidGeneratesValid :: (Show a, GenValid a) => Property

    genvalidity-sydtest Test.Syd.Validity.GenValidity

    genValid only generates valid data

    genValidGeneratesValid @()
    
    genValidGeneratesValid @Bool
    
    genValidGeneratesValid @Ordering
    
    genValidGeneratesValid @Char
    
    genValidGeneratesValid @Int
    
    genValidGeneratesValid @Float
    
    genValidGeneratesValid @Double
    
    genValidGeneratesValid @Integer
    
    genValidGeneratesValid @(Maybe Int)
    
    genValidGeneratesValid @[Int]
    

  9. genValidSpec :: forall a (outers :: [Type]) . (Typeable a, Show a, GenValid a) => TestDef outers ()

    genvalidity-sydtest Test.Syd.Validity.GenValidity

    A Spec that specifies that genValid only generates valid data. In general it is a good idea to add this spec to your test suite if you write a custom implementation of genValid. Example usage:

    genValidSpec @Int
    

  10. genGeneratesInvalid :: (Show a, Validity a) => Gen a -> Property

    genvalidity-sydtest Test.Syd.Validity.GenValidity.Property

    The given generator generates only invalid data points

Page 482 of many | Previous | Next