Download raw

Created: 2023-12-19 03:40:10.302489 UTC

Size: 658

Preview (limited to 512 bytes)

"-- Test for ticket #4218 (TestRandomRs):\n-- https://ghc.haskell.org/trac/ghc/ticket/4218\n--\n-- Fixed together with ticket #8704\n-- https://ghc.haskell.org/trac/ghc/ticket/8704\n-- Commit 4695ffa366f659940369f05e419a4f2249c3a776\n--\n-- Used to fail with:\n--\n-- $ cabal test TestRandomRs --test-options=\"+RTS -M1M -RTS\"\n-- TestRandomRs: Heap exhausted;\n\nmodule TestRandomRs where\n\nimport Control.Monad (liftM)\nimport System.Random (randomRs, getStdGen)\n\n-- Return the five-thousandth random number:\n-- Should run in "

Casa is a service provided by the Haskell Foundation │ Originally developed by FP Complete