206a99fd5aa0629995b7fb9db6bd2a4e474c3fc7dfeda7c3f8ad0a1f7f9b93ec
Created: 2023-12-19 03:40:10.302489 UTC
Size: 652
Preview (limited to 512 bytes)
"-- | Benchmarking utilities. For example, functions for generating\n-- random integers.\nmodule Util.Int where\n\nimport System.Random (mkStdGen, randomRs)\n\n-- | Generate a number of uniform random integers in the interval\n-- @[0..upper]@.\nrnd :: Int -- ^ Upper bound (inclusive)\n -> Int -- ^ Number of integers\n -> [Int]\nrnd upper num = take num $ randomRs (0, upper) $ mkStdGen 1234\n\n-- | Generate a number of uniform random integers in the interval\n-- @[0..upper]@ different from @rnd@.\nrnd' :: Int -- ^"
Casa is a service provided by the Haskell Foundation │ Originally developed by FP Complete