| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
Data.Random.Source.IO
Contents
Description
For convenience, this module defines an instance of MonadRandom for the IO monad.
On Windows it uses Data.Random.Source.MWC (or Data.Random.Source.StdGen on older
versions of GHC where the mwc-random package doesn't build) and on other platforms it uses
Data.Random.Source.DevRandom.
Orphan instances
| MonadRandom IO # | |
Methods getRandomPrim :: Prim t -> IO t # getRandomWord8 :: IO Word8 # getRandomWord16 :: IO Word16 # getRandomWord32 :: IO Word32 # getRandomWord64 :: IO Word64 # getRandomDouble :: IO Double # getRandomNByteInteger :: Int -> IO Integer # | |