Alternative to slice_randomize_psl
slice_randomize_psl
is interesting and well documented. But it's not unlikely to have a system where lua-psl is absent/unpackaged/unavailable/undesirable/...
For these, it would be handy to either:
- provide a simpler built-in randomization function
- Adapt
slice_randomize_psl
to work on a simpler basis whenlua-psa
is absent (instead of bailing-out) - Extend the documentation to mention simpler
math.random()
sample helpers to achieve a similar result (especially useful for users not used with Lua programming)