squash -Wsimplifiable-class-constraints warnings

I have not tested this with older ghc than 8.2.2.
This commit is contained in:
Joey Hess 2018-04-22 13:42:21 -04:00
parent c0c66e35b2
commit 891d6d97f7
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -48,7 +48,7 @@ import System.Log.Logger (debugM)
import qualified Network.Socket as S
-- Type of interpreters of the Proto free monad.
type RunProto m = forall a. (MonadIO m, MonadMask m) => Proto a -> m (Either String a)
type RunProto m = forall a. Proto a -> m (Either String a)
data RunState
= Serving UUID (Maybe ChangedRefsHandle) (TVar ProtocolVersion)