Hoogle Search

Within LTS Haskell 24.10 (ghc-9.10.2)

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

  1. coarbitraryGeneric :: forall a r gen . (Generic a, GCoArbitrary gen a) => Co gen a r

    test-fun Test.Fun

    Generic implementation of coarbitrary.

    -- Assuming MyData is a data type whose fields are all instances of CoArbitrary.
    
    instance CoArbitrary MyData where
    coarbitrary = coarbitraryGeneric
    

  2. class Applicative gen => CoArbitrary (gen :: Type -> Type) a

    test-fun Test.Fun.Internal.Generic

    Implicit, default cogenerator.

  3. class (GCoGen a, Applicative gen, GSumCoArb gen Rep a) => GCoArbitrary (gen :: Type -> Type) a

    test-fun Test.Fun.Internal.Generic

    Constraint for coarbitraryGeneric.

  4. coarbitrary :: CoArbitrary gen a => Co gen a r

    test-fun Test.Fun.Internal.Generic

    No documentation available.

  5. coarbitraryGeneric :: forall a r gen . (Generic a, GCoArbitrary gen a) => Co gen a r

    test-fun Test.Fun.Internal.Generic

    Generic implementation of coarbitrary.

    -- Assuming MyData is a data type whose fields are all instances of CoArbitrary.
    
    instance CoArbitrary MyData where
    coarbitrary = coarbitraryGeneric
    

  6. binarySpecOnArbitrary :: (Show a, Eq a, Typeable a, Arbitrary a, Binary a) => Spec

    genvalidity-hspec-binary Test.Validity.Binary

    Standard test spec for properties of Binary-related functions for arbitrary values Example usage:

    binarySpecOnArbitrary @Int
    

  7. serializeSpecOnArbitrary :: (Show a, Eq a, Typeable a, Arbitrary a, Serialize a) => Spec

    genvalidity-hspec-cereal Test.Validity.Cereal

    Standard test spec for properties of Serialize-related functions for arbitrary values Example usage:

    serializeSpecOnArbitrary @Int
    

  8. hashableSpecOnArbitrary :: (Show a, Eq a, Typeable a, Arbitrary a, Hashable a) => Spec

    genvalidity-hspec-hashable Test.Validity.Hashable

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

    hashableSpecOnArbitrary @Int
    

  9. persistSpecOnArbitrary :: (Show a, Eq a, Typeable a, Arbitrary a, PersistField a) => Spec

    genvalidity-hspec-persistent Test.Validity.Persist

    Standard test spec for properties of persistent-related functions for arbitrary values Example usage:

    persistSpecOnArbitrary @Int
    

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

    genvalidity-sydtest-hashable Test.Syd.Validity.Hashable

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

    hashableSpecOnArbitrary @Int
    

Page 65 of many | Previous | Next