Safe Haskell | None |
---|---|
Language | Haskell2010 |
Crypto.RNG.Unsafe
Description
Support for generation of non cryptographically secure random numbers for testing purposes.
CryptoRNG class
module Crypto.RNG.Class
Monad transformer for carrying rng state
Monad transformer with RNG state.
Instances
MonadTrans RNGT Source # | |
Defined in Crypto.RNG.Unsafe | |
MonadTransControl RNGT Source # | |
MonadBase b m => MonadBase b (RNGT m) Source # | |
Defined in Crypto.RNG.Unsafe | |
MonadBaseControl b m => MonadBaseControl b (RNGT m) Source # | |
MonadError e m => MonadError e (RNGT m) Source # | |
Defined in Crypto.RNG.Unsafe | |
Monad m => Monad (RNGT m) Source # | |
Functor m => Functor (RNGT m) Source # | |
MonadFail m => MonadFail (RNGT m) Source # | |
Defined in Crypto.RNG.Unsafe | |
Applicative m => Applicative (RNGT m) Source # | |
MonadIO m => MonadIO (RNGT m) Source # | |
Defined in Crypto.RNG.Unsafe | |
Alternative m => Alternative (RNGT m) Source # | |
MonadPlus m => MonadPlus (RNGT m) Source # | |
MonadThrow m => MonadThrow (RNGT m) Source # | |
Defined in Crypto.RNG.Unsafe | |
MonadCatch m => MonadCatch (RNGT m) Source # | |
MonadMask m => MonadMask (RNGT m) Source # | |
MonadIO m => CryptoRNG (RNGT m) Source # | |
Defined in Crypto.RNG.Unsafe | |
type StT RNGT a Source # | |
type StM (RNGT m) a Source # | |
withRNGState :: (RNGState -> m a) -> RNGT m a Source #