On Monday, 14 July 2014 at 22:32:25 UTC, bearophile wrote:
Brad Anderson:

Alternative:

randomSample(lowercase, 10, lowercase.length).writeln;

From randomSample docs:

Selects a random subsample out of r, containing exactly n elements. The order of elements is the same as in the original range.<

Bye,
bearophile

Hmm, good catch. Not the behavior I expected.

Reply via email to