Arbitrary using Generic

Francesco Mazzoli f at mazzo.li
Fri Feb 17 15:39:15 GMT 2012


Hi again,

I made my 'arbitrary' using Generic much better:

* You can customize the probability of a certain constructor being chosen
* I added a generic 'shrink' as well
* And a generic 'CoArbitrary'.

I attached the patch.

Francesco.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: added-generic_based-default-for-arbitrary.dpatch
URL: <http://projects.haskell.org/pipermail/quickcheck/attachments/20120217/870d7753/attachment-0001.asc>


More information about the QuickCheck mailing list