QuickCheck-2.1.0.3: Automatic testing of Haskell programs

Test.QuickCheck.Function

Documentation

data Fun a b Source

Constructors

Fun (a :-> b) (a -> b)

Instances

(Show a, Show b) => Show (Fun a b)

apply :: Fun a b -> a -> bSource

data a :-> c Source

Instances

Functor (:-> a)
(Show a, Show b) => Show (:-> a b)

class FunArbitrary a whereSource

Methods

funArbitrary :: Arbitrary c => Gen (a :-> c)Source

Instances

funArbitraryMap :: (FunArbitrary a, Arbitrary c) => (b -> a) -> (a -> b) -> Gen (b :-> c)Source

funArbitraryShow :: (Show a, Read a, Arbitrary c) => Gen (a :-> c)Source

AltStyle によって変換されたページ (->オリジナル) /