quickspec-0.9.6: Equational laws for free!

Safe HaskellNone

Test.QuickSpec.Approximate

Documentation

newtype Plug Source

Constructors

Plug 

Fields

unPlug :: forall a. Partial a => Gen a -> Gen a
 

plug :: Partial a => GP a -> GP aSource

class (Typeable a, Arbitrary a, Eq a) => Partial a whereSource

Methods

unlifted :: a -> GP aSource

lifted :: Partial a => a -> GP aSource

approximate :: Partial a => (forall a. Partial a => a -> Maybe a) -> QCGen -> Int -> a -> aSource

pobserver :: (Ord a, Partial a) => a -> SigSource

pvars :: (Ord a, Partial a) => [String] -> a -> SigSource