well-typed / falsify

Other
38 stars 6 forks source link

Add `chooseAny`, a version of choose that takes NonEmpty (Gen a) #54

Closed voidus closed 1 year ago

voidus commented 1 year ago

I'm not sure if this is maybe significantly slower, but it was the most straightforward way to implement it.

edsko commented 1 year ago

Merged in #58, renamed to oneof to match QuickCheck. Thanks! :)