You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Another thing I noticed while testing (#67) is that I can't use Randomness (#45) in calls like Array/randomElement(using:). I could perhaps add some kind of adapter type to fix it:
extensionRandomness{varstdlib: /* Adapter<Self> */ {get{...}set{...}}}varfuzzer=FuzzerInt(seed:123)varelements=[1,2,3]
ler random = elements.randomElement(using:&fuzzer.stdlib)!
The text was updated successfully, but these errors were encountered:
Alternatively, perhaps I can do better with an associated type or a protocol. An associated type would be nice insofar as it lets RandomInt vend SystemRandomNumberGenerator. Fewer generic specializations, etc.
Another thing I noticed while testing (#67) is that I can't use Randomness (#45) in calls like Array/randomElement(using:). I could perhaps add some kind of adapter type to fix it:
The text was updated successfully, but these errors were encountered: