From c9a2d176d144c4e9ac3a11668706e5f0c11ec0bf Mon Sep 17 00:00:00 2001 From: Pi3r Date: Thu, 30 Nov 2017 14:31:19 +0100 Subject: [PATCH] Add throwE & catchE (#73) * Add throwE & catchE My understanding is that `throwError` & `catchError` are deprecated (maybe we should remove them?) * Update Protolude.hs * Update Protolude.hs --- src/Protolude.hs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Protolude.hs b/src/Protolude.hs index 43cca8b1e..c9407449b 100644 --- a/src/Protolude.hs +++ b/src/Protolude.hs @@ -282,6 +282,11 @@ import Control.Monad.Reader as X ( , runReaderT ) +import Control.Monad.Trans.Except as X ( + throwE + , catchE + ) + import Control.Monad.Except as X ( MonadError , Except