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
{{ message }}
This repository has been archived by the owner on Oct 9, 2019. It is now read-only.
Fuzz.set : Fuzzer a -> Fuzzer (Set a)
Fuzz.dict : Fuzzer comparable -> Fuzzer value -> Fuzzer (Dict comparable value)
You can currently use Fuzz.list a |> Fuzz.map Set.fromList (and similarly for Dict), but shrinking is extremely inefficient when the number of possible values a can produce is small (in my case, each test evaluation takes more than 5 seconds, so evaluating shrinks that are the same as previous shrinks adds up quickly).
Edit: maybe the inefficient shrinking is simply a result of #187 ?
The text was updated successfully, but these errors were encountered:
Proposing we add
You can currently use
Fuzz.list a |> Fuzz.map Set.fromList
(and similarly for Dict), but shrinking is extremely inefficient when the number of possible valuesa
can produce is small (in my case, each test evaluation takes more than 5 seconds, so evaluating shrinks that are the same as previous shrinks adds up quickly).Edit: maybe the inefficient shrinking is simply a result of #187 ?
The text was updated successfully, but these errors were encountered: