Hoogle Search

Within LTS Haskell 24.45 (ghc-9.10.3)

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

  1. idempotentOnGen :: (Show a, Eq a) => (a -> a) -> Gen a -> (a -> [a]) -> Property

    genvalidity-sydtest Test.Syd.Validity.Property

    No documentation available.

  2. identity :: (Show a, Eq a, GenValid a) => (a -> a -> a) -> a -> Property

    genvalidity-sydtest Test.Syd.Validity.Property

    identity ((*) :: Int -> Int -> Int) 1
    
    identity ((+) :: Int -> Int -> Int) 0
    

  3. identityOnArbitrary :: (Show a, Eq a, Arbitrary a) => (a -> a -> a) -> a -> Property

    genvalidity-sydtest Test.Syd.Validity.Property

    identityOnArbitrary ((*) :: Int -> Int -> Int) 1
    
    identityOnArbitrary ((+) :: Int -> Int -> Int) 0
    

  4. identityOnGen :: (Show a, Eq a) => (a -> a -> a) -> a -> Gen a -> (a -> [a]) -> Property

    genvalidity-sydtest Test.Syd.Validity.Property

  5. idS :: Selector s s

    hxt Data.Function.Selector

    No documentation available.

  6. idS :: Selector s s

    hxt Text.XML.HXT.Arrow.XmlState.TypeDefs

    No documentation available.

  7. idempotent :: Eq a => (a -> a) -> a -> Bool

    leancheck Test.LeanCheck.Utils.Operators

    Deprecated: Use isIdempotent.

  8. identity :: Eq a => (a -> a) -> a -> Bool

    leancheck Test.LeanCheck.Utils.Operators

    Deprecated: Use isIdentity.

  9. idempotentSemigroupLaws :: (Semigroup a, Eq a, Arbitrary a, Show a) => Proxy a -> Laws

    quickcheck-classes-base Test.QuickCheck.Classes.Base

    Tests the following properties:

    • Idempotent a <> a ≡ a
    Note that this does not test associativity. Make sure to use semigroupLaws in addition to this set of laws. In literature, this class of semigroup is known as a band.

  10. identity :: t x -> t x

    selective Control.Selective.Multi

    A trivial product type that stores nothing and simply returns the given tag as the result.

Page 280 of many | Previous | Next