Hoogle Search

Within LTS Haskell 24.65 (ghc-9.10.3)

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

  1. neverIdentity :: Eq a => (a -> a) -> a -> Bool

    leancheck Test.LeanCheck.Utils.Operators

    Deprecated: Use isNeverIdentity.

  2. commutativeMonoidLaws :: (Monoid a, Eq a, Arbitrary a, Show a) => Proxy a -> Laws

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

    Tests the following properties:

    • Commutative mappend a b ≡ mappend b a
    Note that this does not test associativity or identity. Make sure to use monoidLaws in addition to this set of laws.

  3. monoidLaws :: (Monoid a, Eq a, Arbitrary a, Show a) => Proxy a -> Laws

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

    Tests the following properties:

    • Associative mappend a (mappend b c) ≡ mappend (mappend a b) c
    • Left Identity mappend mempty a ≡ a
    • Right Identity mappend a mempty ≡ a
    • Concatenation mconcat as ≡ foldr mappend mempty as

  4. semigroupMonoidLaws :: (Semigroup a, Monoid a, Eq a, Arbitrary a, Show a) => Proxy a -> Laws

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

    No documentation available.

  5. data Validation e a

    selective Control.Selective

    Selective instance for the standard applicative functor Validation. This is a good example of a non-trivial selective functor which is not a monad.

  6. module Data.Singletons.Decide

    Defines the class SDecide, allowing for decidable equality over singletons.

  7. class SDecide k

    singletons Data.Singletons.Decide

    Members of the SDecide "kind" class support decidable equality. Instances of this class are generated alongside singleton definitions for datatypes that derive an Eq instance.

  8. data Void

    singletons Data.Singletons.Decide

    Uninhabited data type

  9. decideCoercion :: forall k (a :: k) (b :: k) . SDecide k => Sing a -> Sing b -> Maybe (Coercion a b)

    singletons Data.Singletons.Decide

    A suitable default implementation for testCoercion that leverages SDecide.

  10. decideEquality :: forall k (a :: k) (b :: k) . SDecide k => Sing a -> Sing b -> Maybe (a :~: b)

    singletons Data.Singletons.Decide

    A suitable default implementation for testEquality that leverages SDecide.

Page 735 of many | Previous | Next