function shuffle(it, rand = () => Math.random()) {
    return map((x) => x[0])(orderBy((x) => x[1])(map((x) => [x, rand()])(it)));
}
function shuffle(it, rand = () => Math.random()) {
    return map((x) => x[0])(orderBy((x) => x[1])(map((x) => [x, rand()])(it)));
}
function shuffle ( it , rand = ( ) => Math . random ( ) ) { return map ( ( x ) => x [ 0 ] ) ( orderBy ( ( x ) => x [ 1 ] ) ( map ( ( x ) => [ x , rand ( ) ] ) ( it ) ) ) ; }
Play the given Iterable in a random order
Play the given Iterable in a random order