dragen-0.1.0.0: Automatic derivation of optimized QuickCheck random generators.

Safe HaskellNone
LanguageHaskell2010

Dragen

Synopsis

Documentation

dragenArbitrary :: Name -> Size -> CostFunction -> DecsQ Source #

Derives an Abitrary instance for the type target, optimizing each type constructor frequency in order to minimize the output of a given cost function.

types :: [Name] -> TypeEnv -> [Name] Source #

confirm :: Countable a => Size -> Gen a -> IO () Source #