def shuffle
import bend-collections-laws-crypto@1.0.0.0/src/crypto/random.bend as Randomimport Base
import bend-collections-laws-crypto@1.0.0.0/src/math/random/rand.bend as R
145# a uniform permutation of items
146def shuffle(~A: Data, g: Gen, +items: List<&2, A>) -> List<&2, A> & Gen:
147 R.shuffle(~A, ~Gen, ~next, g, items)