Hoogle Search

Within LTS Haskell 24.32 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. equivalentWhenSucceedOnGen :: (Show a, Show b, Eq b, CanFail f) => (a -> f b) -> (a -> f b) -> Gen a -> (a -> [a]) -> Property

    genvalidity-sydtest Test.Syd.Validity

    No documentation available.

  2. equivalentWhenSucceedOnGens2 :: (Show a, Show b, Show c, Eq c, CanFail f) => (a -> b -> f c) -> (a -> b -> f c) -> Gen (a, b) -> ((a, b) -> [(a, b)]) -> Property

    genvalidity-sydtest Test.Syd.Validity

    No documentation available.

  3. eqSpec :: forall a (outers :: [Type]) . (Show a, Eq a, Typeable a, GenValid a) => TestDef outers ()

    genvalidity-sydtest Test.Syd.Validity.Eq

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

    eqSpec @Int
    

  4. eqSpecOnArbitrary :: forall a (outers :: [Type]) . (Show a, Eq a, Typeable a, Arbitrary a) => TestDef outers ()

    genvalidity-sydtest Test.Syd.Validity.Eq

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

    eqSpecOnArbitrary @Int
    

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

    genvalidity-sydtest Test.Syd.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"
    

  6. equivalent :: (Show a, GenValid a, Show b, Eq b) => (a -> b) -> (a -> b) -> Property

    genvalidity-sydtest Test.Syd.Validity.Functions.Equivalence

    No documentation available.

  7. equivalent2 :: (Show a, GenValid a, Show b, GenValid b, Show c, Eq c) => (a -> b -> c) -> (a -> b -> c) -> Property

    genvalidity-sydtest Test.Syd.Validity.Functions.Equivalence

    No documentation available.

  8. equivalent3 :: (Show a, GenValid a, Show b, GenValid b, Show c, GenValid c, Show d, Eq d) => (a -> b -> c -> d) -> (a -> b -> c -> d) -> Property

    genvalidity-sydtest Test.Syd.Validity.Functions.Equivalence

    No documentation available.

  9. equivalentOnArbitrary :: (Show a, Arbitrary a, Show b, Eq b) => (a -> b) -> (a -> b) -> Property

    genvalidity-sydtest Test.Syd.Validity.Functions.Equivalence

    equivalentOnArbitrary ((* 2) . (+ 1)) ((+ 2) . (* 2) :: Int -> Int)
    

  10. equivalentOnArbitrary2 :: (Show a, Arbitrary a, Show b, Arbitrary b, Show c, Eq c) => (a -> b -> c) -> (a -> b -> c) -> Property

    genvalidity-sydtest Test.Syd.Validity.Functions.Equivalence

    equivalentOnArbitrary2 (+) ((+) :: Int -> Int -> Int)
    

Page 73 of many | Previous | Next