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. monoidSpec :: forall a (outers :: [Type]) . (Show a, Eq a, Monoid a, Typeable a, GenValid a) => TestDef outers ()

    genvalidity-sydtest Test.Syd.Validity

    Standard test spec for properties of Monoid instances for valid values Example usage:

    monoidSpec @[Int]
    

  2. monoidSpecOnArbitrary :: forall a (outers :: [Type]) . (Show a, Eq a, Monoid a, Typeable a, Arbitrary a) => TestDef outers ()

    genvalidity-sydtest Test.Syd.Validity

    Standard test spec for properties of Monoid instances for arbitrary values Example usage:

    monoidSpecOnArbitrary @[Int]
    

  3. monoidSpecOnGen :: forall a (outers :: [Type]) . (Show a, Eq a, Monoid a, Typeable a) => Gen a -> String -> (a -> [a]) -> TestDef outers ()

    genvalidity-sydtest Test.Syd.Validity

    Standard test spec for properties of Monoid instances for values generated by a given generator (and name for that generator). Example usage:

    monoidSpecOnGen (pure "a") "singleton list of 'a'"
    

  4. producesValid :: (Show a, Show b, GenValid a, Validity b) => (a -> b) -> Property

    genvalidity-sydtest Test.Syd.Validity

    The function produces valid output when the input is generated by genValid

  5. producesValid2 :: (Show a, Show b, Show c, GenValid a, GenValid b, Validity c) => (a -> b -> c) -> Property

    genvalidity-sydtest Test.Syd.Validity

    No documentation available.

  6. producesValid3 :: (Show a, Show b, Show c, Show d, GenValid a, GenValid b, GenValid c, Validity d) => (a -> b -> c -> d) -> Property

    genvalidity-sydtest Test.Syd.Validity

    No documentation available.

  7. producesValidsOnArbitrary :: (Show a, Show b, Arbitrary a, Validity b) => (a -> b) -> Property

    genvalidity-sydtest Test.Syd.Validity

    The function produces valid output when the input is generated by arbitrary

  8. producesValidsOnArbitrary2 :: (Show a, Show b, Show c, Arbitrary a, Arbitrary b, Validity c) => (a -> b -> c) -> Property

    genvalidity-sydtest Test.Syd.Validity

    No documentation available.

  9. 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

    No documentation available.

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

    genvalidity-sydtest Test.Syd.Validity

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

Page 477 of many | Previous | Next