Remove redundant superclass in MonadRandom

Reported by @frasertweedale
This commit is contained in:
Olivier Chéron 2020-02-14 06:53:15 +01:00
parent 86470d5563
commit 43a9967b1d

View File

@ -17,7 +17,7 @@ import Crypto.Random.Entropy
import Crypto.Internal.ByteArray
-- | 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
-- | A Deterministic Random Generator (DRG) class