Located in compilation unit of io.vavr.test.Gen.
Returns:
Chooses a Gen according to the given frequencies.
a random value between 0 and sum(frequencies) - 1
a non-empty Iterator of (frequency, Gen) pairs
A value generator, choosen according to the given frequencies and the underlying n