Hoogle Search
Within LTS Haskell 24.25 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
genvalidity-sydtest Test.Syd.Validity No documentation available.
-
genvalidity-sydtest Test.Syd.Validity No documentation available.
-
genvalidity-sydtest Test.Syd.Validity No documentation available.
-
genvalidity-sydtest Test.Syd.Validity No documentation available.
-
genvalidity-sydtest Test.Syd.Validity No documentation available.
-
genvalidity-sydtest Test.Syd.Validity No documentation available.
-
genvalidity-sydtest Test.Syd.Validity Standard test spec for properties of Functor instances for values generated with Arbitrary instances Example usage:
functorSpecOnArbitrary @[]
idempotentOnArbitrary :: (Show a, Eq a, Arbitrary a) => (a -> a) -> Propertygenvalidity-sydtest Test.Syd.Validity id is idempotent for any type:
idempotentOnArbitrary (id :: Int -> Int)
const, given any input, is idempotent for any type as well:\int -> idempotentOnArbitrary (const int :: Int -> Int)
identityOnArbitrary :: (Show a, Eq a, Arbitrary a) => (a -> a -> a) -> a -> Propertygenvalidity-sydtest Test.Syd.Validity identityOnArbitrary ((*) :: Int -> Int -> Int) 1
identityOnArbitrary ((+) :: Int -> Int -> Int) 0
-
genvalidity-sydtest Test.Syd.Validity No documentation available.