Hoogle Search
Within LTS Haskell 24.31 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
genvalidity-hspec Test.Validity No documentation available.
-
genvalidity-hspec Test.Validity No documentation available.
-
genvalidity-hspec Test.Validity No documentation available.
eqSpec :: (Show a, Eq a, Typeable a, GenValid a) => Specgenvalidity-hspec Test.Validity.Eq Standard test spec for properties of Eq instances for valid values Example usage:
eqSpec @Int
eqSpecOnArbitrary :: (Show a, Eq a, Typeable a, Arbitrary a) => Specgenvalidity-hspec Test.Validity.Eq Standard test spec for properties of Eq instances for arbitrary values Example usage:
eqSpecOnArbitrary @Int
eqSpecOnGen :: (Show a, Eq a, Typeable a) => Gen a -> String -> (a -> [a]) -> Specgenvalidity-hspec Test.Validity.Eq Standard test spec for properties of Eq instances for values generated by a given generator (and name for that generator). Example usage:
eqSpecOnGen ((* 2) <$> genValid @Int) "even"
eqMaybe :: EqMaybe a b => a -> b -> Boolhaskell-gi-base Data.GI.Base.Attributes No documentation available.
eqMaybe :: EqMaybe a b => a -> b -> Boolhaskell-gi-base Data.GI.Base.ShortPrelude No documentation available.
eqLaws :: (Eq a, Arbitrary a, Show a) => Proxy a -> Lawsquickcheck-classes Test.QuickCheck.Classes Tests the following properties:
Some of these properties involve implication. In the case that the left hand side of the implication arrow does not hold, we do not retry. Consequently, these properties only end up being useful when the data type has a small number of inhabitants.-
foldl Control.Foldl O(n^2). Fold values into a list with duplicates removed, while preserving their first occurrences