summaryrefslogtreecommitdiff
path: root/Env.hs
diff options
context:
space:
mode:
authorpb <pb@9f8f72e9-4bf4-416e-b76e-7d4203597157>2010-03-26 22:31:54 +0000
committerpb <pb@9f8f72e9-4bf4-416e-b76e-7d4203597157>2010-03-26 22:31:54 +0000
commitaf903e0031288f6e4f1c8a63db8ef9efc63f8b91 (patch)
tree7c80a2a52e3ed711573c63df837af04fd66606f9 /Env.hs
parent429c6c5657e207d55d99d49e82142a23755d9911 (diff)
git-svn-id: https://ssl.buetow.org/repos/hsbot/trunk@41 9f8f72e9-4bf4-416e-b76e-7d4203597157
Diffstat (limited to 'Env.hs')
-rw-r--r--Env.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Env.hs b/Env.hs
index 5064392..bb6a0b8 100644
--- a/Env.hs
+++ b/Env.hs
@@ -3,7 +3,7 @@ module Env where
import Conf
import State
-type Dispatch = String -> (String -> IO ()) -> Env -> IO ()
+type Dispatch = String -> (String -> IO ()) -> Env -> IO Env
data Env = DispatchEnv State Conf Dispatch | Env State Conf
castEnv :: Env -> Env