However, sample' only generates ten examples, not hundred like quickCheck.
Do you think it is possible and sensible to expand this idea to sampleWith :: Arg -> Gen a -> IO [a]
and maybe also to Property instead of Bool?
I am happy with single-parameter predicates because I can uncurry predicates with multiple parameters. (I.e. no need for :&:.)
I know of
quickcheck-with-counterexamples
but it needs extra instances. Thus I tried this one instead:However,
sample'
only generates ten examples, not hundred likequickCheck
. Do you think it is possible and sensible to expand this idea tosampleWith :: Arg -> Gen a -> IO [a]
and maybe also toProperty
instead ofBool
?I am happy with single-parameter predicates because I can uncurry predicates with multiple parameters. (I.e. no need for
:&:
.)Related: #174