Hoogle Search

Within LTS Haskell 24.41 (ghc-9.10.3)

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. monoidSpecOnGen :: (Show a, Eq a, Monoid a, Typeable a) => Gen a -> String -> (a -> [a]) -> Spec

    genvalidity-hspec Test.Validity.Monoid

    Standard test spec for properties of Monoid instances for values generated by a given generator (and name for that generator). Example usage:

    monoidSpecOnGen (pure "a") "singleton list of 'a'"
    

  3. monoidSpecOnValid :: (Show a, Eq a, Monoid a, Typeable a, GenValid a) => Spec

    genvalidity-hspec Test.Validity.Monoid

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

    monoidSpecOnValid @[Double]
    

  4. shrinkPreservesValidOnGenValid :: (Show a, GenValid a) => (a -> [a]) -> Property

    genvalidity-hspec Test.Validity.Shrinking

    shrinkPreservesValidOnGenValid ((:[]) :: Int -> [Int])
    

  5. shrinkValidDoesNotShrinkToItself :: (Show a, Eq a, GenValid a) => Property

    genvalidity-hspec Test.Validity.Shrinking

    No documentation available.

  6. shrinkValidDoesNotShrinkToItselfWithLimit :: (Show a, Eq a, GenValid a) => Int -> Property

    genvalidity-hspec Test.Validity.Shrinking

    No documentation available.

  7. shrinkValidPreservesValid :: (Show a, GenValid a) => Gen a -> Property

    genvalidity-hspec Test.Validity.Shrinking

    shrinkValidPreservesValid (pure 5 :: Gen Rational)
    

  8. shrinkValidPreservesValidOnGenValid :: (Show a, GenValid a) => Property

    genvalidity-hspec Test.Validity.Shrinking

    No documentation available.

  9. shrinkValidPreservesValidOnGenValidWithLimit :: (Show a, GenValid a) => Int -> Property

    genvalidity-hspec Test.Validity.Shrinking

    No documentation available.

  10. shrinkValidSpec :: (Show a, Eq a, Typeable a, GenValid a) => Spec

    genvalidity-hspec Test.Validity.Shrinking

    No documentation available.

Page 620 of many | Previous | Next