Closed vivekragunathan closed 1 year ago
I believe atLeastOne
already provides nonEmptySomeOf
.
Darn .. I did not know such a method already exists. Naming is always tripping. Closing this issue/PR.
Yes the naming is confusing because it's not always consistent. Sometimes the generator's name describes what is done with the arguments and other times it's based on the values returned by the generator.
someOf
returns 0 or more elements. Would be handy to have anonEmptySomeOf
similar how there are other complementary non empty versions.ref: https://github.com/typelevel/scalacheck/pull/944#issuecomment-1480252026