Module random



random:(stop = 1.0)
Return a random number in range [0, stop).

random:(start .< stop)
Return a random number in range [start, stop).

random:(min .. max)
Return a random number in range [min, max].

random:shuffle(&seq)
Shuffle the sequence
seq
in place.

random:choice(seq)
Return a random element from the non-empty sequence
seq
.