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.

  1. monoidSpecOnArbitrary :: (Show a, Eq a, Monoid a, Typeable a, Arbitrary a) => Spec

    genvalidity-hspec Test.Validity.Monoid

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

    monoidSpecOnArbitrary @[Int]
    

  2. ordSpecOnArbitrary :: (Show a, Ord a, Typeable a, Arbitrary a) => Spec

    genvalidity-hspec Test.Validity.Ord

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

    ordSpecOnArbitrary @Int
    

  3. showReadRoundTripOnArbitrary :: (Show a, Eq a, Read a, Arbitrary a) => Property

    genvalidity-hspec Test.Validity.Show

    showReadRoundTripOnArbitrary @Double
    

  4. showReadSpecOnArbitrary :: (Show a, Eq a, Read a, Typeable a, Arbitrary a) => Spec

    genvalidity-hspec Test.Validity.Show

    Standard test spec for properties of Show and Read instances for arbitrary values Example usage:

    showReadSpecOnArbitrary @Double
    

  5. antireflexivityOnArbitrary :: (Show a, Arbitrary a) => (a -> a -> Bool) -> Property

    genvalidity-sydtest Test.Syd.Validity

    antireflexivityOnArbitrary ((<) :: Int -> Int -> Bool)
    
    antireflexivityOnArbitrary ((/=) :: Int -> Int -> Bool)
    
    antireflexivityOnArbitrary ((>) :: Int -> Int -> Bool)
    

  6. antisymmetryOnArbitrary :: (Show a, Eq a, Arbitrary a) => (a -> a -> Bool) -> Property

    genvalidity-sydtest Test.Syd.Validity

    antisymmetryOnArbitrary ((>) :: Int -> Int -> Bool)
    
    antisymmetryOnArbitrary ((>=) :: Int -> Int -> Bool)
    
    antisymmetryOnArbitrary ((<=) :: Int -> Int -> Bool)
    
    antisymmetryOnArbitrary ((<) :: Int -> Int -> Bool)
    
    antisymmetryOnArbitrary (Data.List.isPrefixOf :: [Int] -> [Int] -> Bool)
    
    antisymmetryOnArbitrary (Data.List.isSuffixOf :: [Int] -> [Int] -> Bool)
    
    antisymmetryOnArbitrary (Data.List.isInfixOf :: [Int] -> [Int] -> Bool)
    
    antisymmetryOnArbitrary ((\x y -> even x && odd y) :: Int -> Int -> Bool)
    

  7. applicativeSpecOnArbitrary :: forall (f :: Type -> Type) . (Eq (f Int), Show (f Int), Applicative f, Typeable f, Arbitrary (f Int)) => Spec

    genvalidity-sydtest Test.Syd.Validity

    Standard test spec for properties of Applicative instances for values generated with Arbitrary instances Example usage:

    applicativeSpecOnArbitrary @[]
    

  8. associativeOnArbitrary :: (Show a, Eq a, Arbitrary a) => (a -> a -> a) -> Property

    genvalidity-sydtest Test.Syd.Validity

    associativeOnArbitrary ((*) :: Int -> Int -> Int)
    
    associativeOnArbitrary ((+) :: Int -> Int -> Int)
    

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

    genvalidity-sydtest Test.Syd.Validity

    commutativeOnArbitrary ((+) :: Int -> Int -> Int)
    
    commutativeOnArbitrary ((*) :: Int -> Int -> Int)
    
    commutativeOnArbitrary :: (Show a, Eq a, Arbitrary a) => (a -> a -> a) -> Property

  10. eqSpecOnArbitrary :: (Show a, Eq a, Typeable a, Arbitrary a) => Spec

    genvalidity-sydtest Test.Syd.Validity

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

    eqSpecOnArbitrary @Int
    

Page 34 of many | Previous | Next