Atom - - Shuffle

Characters:

Tags: array , random , combinatorics

Arity: monadic

This atom is monadic, which means it takes one argument.

Functionality

Return a random permutation of a list.

Details

Numbers are automatically cast to a range.

Synonyms

This atom should work roughly the same way as or very similarly in concept to the following code snippets (some edge case exceptions may exist):