7 lines
162 B
Haskell
7 lines
162 B
Haskell
module Alea.Random where
|
|
|
|
import Crypto.Threefish.Random
|
|
|
|
randWords :: Int -> Int -> IO [Int]
|
|
randWords n k = newSkeinGen >>= return . take k . randomRs (0, n-1)
|