drathier / elm-test-tables / Fuzz.Unique

Fuzz.Unique contains fuzzers for built-in types, but with a very low probability of ever generating two equal values. Perfect if you're filling up a Set comparable from a List comparable and want that Set to be the same size as the List, or you just want each value to be unique.

int : Fuzzer Basics.Int

float : Fuzzer Basics.Float

string : Fuzzer String

char : Fuzzer Char

Note: there are only ~113k possible unicode characters, so the probability of at least one duplicate Char in a list char is actually pretty high.