Copyright | Copyright (C) 2023 Yoo Chung |
---|---|
License | GPL-3.0-or-later |
Maintainer | dev@chungyc.org |
Safe Haskell | Safe-Inferred |
Language | GHC2021 |
Some solutions to Problems.P25 of Ninety-Nine Haskell Problems.
Synopsis
- randomPermute :: RandomGen g => [a] -> g -> ([a], g)
Documentation
randomPermute :: RandomGen g => [a] -> g -> ([a], g) Source #
Generate a random permutation of the elements of a list.