Karya, built on 2023-08-29T07:47:28 (patch 7a412d5d6ba4968ca4155ef276a062ccdeb9109a)
Safe HaskellSafe-Inferred

Util.Random

Synopsis

Documentation

shuffle :: [a] -> [Int] -> [a] Source #

Shuffle a list by a list of random integers. The random list must be at least as long as the list to shuffle.