aboutsummaryrefslogtreecommitdiff
path: root/Lazymail.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Lazymail.hs')
-rw-r--r--Lazymail.hs6
1 files changed, 1 insertions, 5 deletions
diff --git a/Lazymail.hs b/Lazymail.hs
index 200b8fd..fbb7e3e 100644
--- a/Lazymail.hs
+++ b/Lazymail.hs
@@ -13,11 +13,7 @@ import Control.Monad.State
import Config
import State
-
-{- Lazymail monad is a ReaderT around a StateT with IO at the bottom of the
- - stack.
- -}
-type Lazymail = ReaderT LazymailConfig (StateT LazymailState IO)
+import Types
run :: Lazymail a -> IO (a, LazymailState)
run k =
nihil fit ex nihilo