generative-art-0.1.0.0
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.Vector.Extended

Synopsis

Documentation

fisherYatesShuffle :: PrimMonad f => Gen (PrimState f) -> MVector (PrimState f) a -> f () Source #

Randomly permute a mutable Vector.

You can use this via modify fisherYatesShuffle to permute an immutable vector.