Int = Probability of being chosen.
Int = Probability of being chosen. ≥ 0
An alias for unicode, as unicode is the default.
An alias for unicode, as unicode is the default.
Randomly selects one of the given elements.
Randomly selects one of the given elements.
Possible elements. MUST NOT BE EMPTY.
Args are inclusive.
Args are inclusive. [l,h]
Args are inclusive.
Args are inclusive. [l,h]
Randomly selects one of the given elements.
Randomly selects one of the given elements.
Possible elements. MUST NOT BE EMPTY.
Args are inclusive.
Args are inclusive. [l,h]
Generate an int ∈ [0,bound).
Generate an int ∈ [0,bound).
Upper-bound (exclusive).
Args are inclusive.
Args are inclusive. [l,h]
Returns a number in [0,GenSize)
Returns a number in [1,GenSize)
Randomly selects one of the given elements.
Randomly selects one of the given elements.
Possible elements. MUST NOT BE EMPTY.
Ensures that an element is never chosen more than once per n elements.
Ensures that an element is never chosen more than once per n elements.
fairlyDistributedSeq(1, 2, 3)(6) may return [1,3,2,2,1,3] or [3,2,1,3,2,1] but never [1,1,1,1,2,3].
Ensures that an element is never chosen more than once per n elements.
Ensures that an element is never chosen more than once per n elements.
fairlyDistributedSeq(1, 2, 3)(6) may return [1,3,2,2,1,3] or [3,2,1,3,2,1] but never [1,1,1,1,2,3].
Randomly either generates a new value, or chooses one from a known set.
Generates a sequence of elements in a fixed order.
Generates a sequence of elements in a fixed order.
Example: [a,b,c] can generate [a,b,c], [a,b,b,b,c,c], etc. but never [b,a,c].
Legal elements in a relevant order.
The maximum number of consecutive, duplicate elements (can be 0).
Whether or not the generator can drop elements. (eg. drop b and return [a,c])
Whether or not the generator can return an empty vector as a result.
Apply a new, non-deterministic seed to the RNG.
Apply a new, non-deterministic seed to the RNG.
The seed used.
Apply a new deterministic seed to the RNG.
Apply a new deterministic seed to the RNG.
The seed used.
Generates a non-empty subset, unless the underlying seq is empty (in which case this returns an empty seq too).
Generates a non-empty subset, unless the underlying seq is empty (in which case this returns an empty seq too).
(Since version 0.6.0) Replace with Gen.alphaNumeric.string
(Since version 0.6.0) Replace with Gen.alphaNumeric.string1
(Since version 0.6.0) Replace with Gen.alphaNumeric.list.
(Since version 0.6.0) Replace with Gen.alphaNumeric.nel or Gen.alphaNumeric.list1.
(Since version 0.6.0) Replace with Gen.alpha.string
(Since version 0.6.0) Replace with Gen.alpha.string1
(Since version 0.6.0) Replace with Gen.alpha.list.
(Since version 0.6.0) Replace with Gen.alpha.nel or Gen.alpha.list1.
(Since version 0.6.0) Replace with Gen.ascii.string
(Since version 0.6.0) Replace with Gen.ascii.string1
(Since version 0.6.0) Replace with Gen.chooseChar.
(Since version 0.6.0) Replace with Gen.char.list.
(Since version 0.6.0) Replace with Gen.char.nel or Gen.char.list1.
(Since version 0.6.1) Replace with Gen.frequencyNE.
(Since version 0.6.0) Replace with Gen.pure.
(Since version 0.6.0) Replace with Gen.lower.string
(Since version 0.6.0) Replace with Gen.lower.string1
(Since version 0.6.0) Replace with Gen.lower.list.
(Since version 0.6.0) Replace with Gen.lower.nel or Gen.lower.list1.
(Since version 0.6.0) Replace with Gen.numeric.string
(Since version 0.6.0) Replace with Gen.numeric.string1
(Since version 0.6.0) Replace with Gen.numeric.list.
(Since version 0.6.0) Replace with Gen.numeric.nel or Gen.numeric.list1.
(Since version 0.6.0) Replace with Gen.choose.
(Since version 0.6.0) Replace with Gen.chooseGen.
(Since version 0.6.0) Replace with Gen.chooseGenNE.
(Since version 0.6.0) Replace with Gen.chooseNE(nel).
(Since version 0.6.0) Replace with Gen.tryGenChoose.
(Since version 0.6.0) Replace with Gen.tryChoose.
(Since version 0.6.0) Replace with Gen.chooseNE.
(Since version 0.6.0) Replace with a pair b
or Gen.tuple2
.
(Since version 0.6.0) Replace with g strengthL l
.
(Since version 0.6.0) Replace with Gen.tuple3.
(Since version 0.6.0) Replace with Gen.unicode.string
(Since version 0.6.0) Replace with Gen.unicode.string1
(Since version 0.6.0) Replace with Gen.upper.string
(Since version 0.6.0) Replace with Gen.upper.string1
(Since version 0.6.0) Replace with Gen.upper.list.
(Since version 0.6.0) Replace with Gen.upper.nel or Gen.upper.list1.