Change Arbitrary[Positive[A]] to do less filtering.
Change Arbitrary[Positive[A]] to do less filtering.

As @rklaehn observes, filtering a significant proportion of
values from a Gen[A] creates a real risk of tests failing
for not finding enough valid values.

In many cases (as here), .filter can be replaced by .map.

guersam/spire,kevinmeredith/spire,adampingel/spire,siddhartha-gadgil/spire,non/spire,non/spire,codeaudit/spire,rklaehn/spire,siddhartha-gadgil/spire,rklaehn/spire,codeaudit/spire,adampingel/spire,JackSullivan/spire,guersam/spire,tixxit/spire,JackSullivan/spire,kevinmeredith/spire,tixxit/spire