quickcheck-higherorder-0.1.0.0: QuickCheck extension for higher-order properties

Safe HaskellSafe
LanguageHaskell2010

Test.QuickCheck.HigherOrder.Internal.Function

Contents

Description

Representation of (higher-order) functions.

Synopsis

Instances for (:->)

Constructible instance for (->)

Orphan instances

(Constructible a, CoArbitrary Gen b) => CoArbitrary Gen (a -> b) Source # 
Instance details

Methods

coarbitrary :: Co Gen (a -> b) r #

(CoArbitrary Gen a, Arbitrary r) => Arbitrary (a :-> r) Source # 
Instance details

Methods

arbitrary :: Gen (a :-> r) #

shrink :: (a :-> r) -> [a :-> r] #

(CoArbitrary Gen a, Constructible b) => Constructible (a -> b) Source # 
Instance details

Associated Types

type Repr (a -> b) :: Type Source #

Methods

fromRepr :: Repr (a -> b) -> a -> b Source #