-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | An infinite stream of random data -- -- Portable interface for the operating system source of pseudo random -- data. Supported sources are Unix devurandom, Win32 -- CryptGenRandom and OpenSSL pseudo random numbers generator. This -- package is based on idea from os.urandom implementation, in CPython. @package random-stream @version 0.1.1 module System.Random.URandom urandom :: Int -> IO ByteString -- | Pure interface to the system pseudo random number generator. The -- generator is assumed to provide an infinite stream of random data, and -- to be implicitly defined. module System.Random.Stream newtype Stream Stream :: ByteString -> Stream mkStream :: Stream instance RandomGen Stream