From 43a9967b1d55f625977d6ea5c6244700f30b08e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Ch=C3=A9ron?= Date: Fri, 14 Feb 2020 06:53:15 +0100 Subject: [PATCH] Remove redundant superclass in MonadRandom Reported by @frasertweedale --- Crypto/Random/Types.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Crypto/Random/Types.hs b/Crypto/Random/Types.hs index 961be8a..c82489f 100644 --- a/Crypto/Random/Types.hs +++ b/Crypto/Random/Types.hs @@ -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