smartcheck-0.2.4: A smarter QuickCheck.

Safe HaskellSafe
LanguageHaskell2010

Test.SmartCheck.ConstructorGen

Synopsis

Documentation

constrsGen :: (SubTypes a, Generic a, ConNames (Rep a)) => ScArgs -> a -> (a -> Property) -> [Idx] -> IO [Idx] Source #

Entry point to generalize constructors. We pass in a list of indexes from value generalizations so we don't try to generalize those constructors (or anything below).