Remove redundant superclass in MonadRandom
Reported by @frasertweedale
This commit is contained in:
parent
86470d5563
commit
43a9967b1d
@ -17,7 +17,7 @@ import Crypto.Random.Entropy
|
|||||||
import Crypto.Internal.ByteArray
|
import Crypto.Internal.ByteArray
|
||||||
|
|
||||||
-- | A monad constraint that allows to generate random bytes
|
-- | A monad constraint that allows to generate random bytes
|
||||||
class (Functor m, Monad m) => MonadRandom m where
|
class Monad m => MonadRandom m where
|
||||||
getRandomBytes :: ByteArray byteArray => Int -> m byteArray
|
getRandomBytes :: ByteArray byteArray => Int -> m byteArray
|
||||||
|
|
||||||
-- | A Deterministic Random Generator (DRG) class
|
-- | A Deterministic Random Generator (DRG) class
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user