On Saturday, 25 January 2020 at 08:59:23 UTC, Basile B. wrote: > On Saturday, 25 January 2020 at 08:35:18 UTC, mark wrote: >> [...] > > rndGen is a range. > > Use `auto word = aa.byKey.choice(rnd.front())` as index instead. > Then `rndGen.popFront()` to advance. no sorry, I didn't read and thought you need the index of rndGen.