Hoogle Search
Within LTS Haskell 24.9 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
genvalidity-hspec Test.Validity Standard test spec for properties of Monad instances for values generated with Arbitrary instances Example usage:
monadSpecOnArbitrary @[]
monoidSpecOnArbitrary :: (Show a, Eq a, Monoid a, Typeable a, Arbitrary a) => Specgenvalidity-hspec Test.Validity Standard test spec for properties of Monoid instances for arbitrary values Example usage:
monoidSpecOnArbitrary @[Int]
ordSpecOnArbitrary :: (Show a, Ord a, Typeable a, Arbitrary a) => Specgenvalidity-hspec Test.Validity Standard test spec for properties of Ord instances for arbitrary values Example usage:
ordSpecOnArbitrary @Int
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.
reflexivityOnArbitrary :: (Show a, Arbitrary a) => (a -> a -> Bool) -> Propertygenvalidity-hspec Test.Validity reflexivityOnArbitrary ((<=) :: Int -> Int -> Bool)
reflexivityOnArbitrary ((==) :: Int -> Int -> Bool)
reflexivityOnArbitrary ((>=) :: Int -> Int -> Bool)
reflexivityOnArbitrary (Data.List.isPrefixOf :: [Int] -> [Int] -> Bool)
reflexivityOnArbitrary (Data.List.isSuffixOf :: [Int] -> [Int] -> Bool)
reflexivityOnArbitrary (Data.List.isInfixOf :: [Int] -> [Int] -> Bool)
rightIdentityOnArbitrary :: (Show a, Eq a, Arbitrary a) => (a -> b -> a) -> b -> Propertygenvalidity-hspec Test.Validity rightIdentityOnArbitrary ((^) :: Int -> Int -> Int) 1
showReadSpecOnArbitrary :: (Show a, Eq a, Read a, Typeable a, Arbitrary a) => Specgenvalidity-hspec Test.Validity Standard test spec for properties of Show and Read instances for arbitrary values Example usage:
showReadSpecOnArbitrary @Double
succeedsOnArbitrary :: (Show a, Show (f b), Arbitrary a, CanFail f) => (a -> f b) -> Propertygenvalidity-hspec Test.Validity The function succeeds if the input is generated by arbitrary