From 96e079d7f7f4839891ec99b54b79d9012f8544a1 Mon Sep 17 00:00:00 2001 From: Rebecca Turner Date: Wed, 19 Jul 2023 05:14:44 -0400 Subject: [PATCH] `prometheus-client`: Update for mtl-2.3 (#70) `Control.Monad.Trans.Error` is deprecated and was removed --- prometheus-client/src/Prometheus/MonadMonitor.hs | 2 -- 1 file changed, 2 deletions(-) diff --git a/prometheus-client/src/Prometheus/MonadMonitor.hs b/prometheus-client/src/Prometheus/MonadMonitor.hs index cd10491..6b1a47c 100644 --- a/prometheus-client/src/Prometheus/MonadMonitor.hs +++ b/prometheus-client/src/Prometheus/MonadMonitor.hs @@ -14,7 +14,6 @@ import Control.Applicative (Applicative) import Control.Monad.Identity (Identity, runIdentity) import Control.Monad.Trans.Class import Control.Monad.Trans.Class (MonadTrans) -import Control.Monad.Trans.Error (ErrorT, Error) import Control.Monad.Trans.Except (ExceptT) import Control.Monad.Trans.Identity (IdentityT) import Control.Monad.Trans.Maybe (MaybeT) @@ -39,7 +38,6 @@ class Monad m => MonadMonitor m where instance MonadMonitor IO where doIO = id -instance (Error e, MonadMonitor m) => MonadMonitor (ErrorT e m) instance (MonadMonitor m) => MonadMonitor (ExceptT e m) instance (MonadMonitor m) => MonadMonitor (IdentityT m) instance (MonadMonitor m) => MonadMonitor (MaybeT m)