aboutsummaryrefslogtreecommitdiff
path: root/Lazymail.hs
diff options
context:
space:
mode:
authorRaúl Benencia <rul@kalgan.cc>2013-09-03 00:00:50 -0300
committerRaúl Benencia <rul@kalgan.cc>2013-09-03 00:00:50 -0300
commite41dd5091f597e2252deb9ecbde900eda7c15614 (patch)
treeb60a532b67aa9932dd0af9a00daf5735e496812b /Lazymail.hs
parent56b4aef769386e9fbe3b074698451e8b74489d61 (diff)
Sorted index 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