hgeometry-0.7.0.0: Geometric Algorithms, Data structures, and Data types.
System.Random.Shuffle
shuffle :: (Foldable f, RandomGen g) => g -> f a -> [a] Source #
Fisher–Yates shuffle, which shuffles in O(n) time.