Hoogle Search
Within LTS Haskell 24.41 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
monoidSpecOnGen :: (Show a, Eq a, Monoid a, Typeable a) => Gen a -> String -> (a -> [a]) -> Specgenvalidity-hspec Test.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'"
producesValid :: (Show a, Show b, GenValid a, Validity b) => (a -> b) -> Propertygenvalidity-hspec Test.Validity The function produces valid output when the input is generated by genValid
-
genvalidity-hspec Test.Validity No documentation available.
-
genvalidity-hspec Test.Validity No documentation available.
producesValidsOnArbitrary :: (Show a, Show b, Arbitrary a, Validity b) => (a -> b) -> Propertygenvalidity-hspec Test.Validity The function produces valid output when the input is generated by arbitrary
-
genvalidity-hspec Test.Validity No documentation available.
-
genvalidity-hspec Test.Validity No documentation available.
producesValidsOnGen :: (Show a, Show b, Validity b) => (a -> b) -> Gen a -> (a -> [a]) -> Propertygenvalidity-hspec Test.Validity The function produces valid output when the input is generated as specified by the given generator.
-
genvalidity-hspec Test.Validity No documentation available.
-
genvalidity-hspec Test.Validity No documentation available.