Safe Haskell | None |
---|---|
Language | Haskell98 |
Documentation
A token representing the "standard" entropy source in a MonadRandom
monad. Its sole purpose is to make the following true (when the types check):
runRVar x StdRandom === sampleRVar
Instances
MonadRandom m => RandomSource m StdRandom Source # | |
Defined in Data.Random.Source.Std getRandomPrimFrom :: StdRandom -> Prim t -> m t Source # getRandomWord8From :: StdRandom -> m Word8 Source # getRandomWord16From :: StdRandom -> m Word16 Source # getRandomWord32From :: StdRandom -> m Word32 Source # getRandomWord64From :: StdRandom -> m Word64 Source # getRandomDoubleFrom :: StdRandom -> m Double Source # getRandomNByteIntegerFrom :: StdRandom -> Int -> m Integer Source # |