diff options
| author | pb <pb@9f8f72e9-4bf4-416e-b76e-7d4203597157> | 2010-03-28 11:31:45 +0000 |
|---|---|---|
| committer | pb <pb@9f8f72e9-4bf4-416e-b76e-7d4203597157> | 2010-03-28 11:31:45 +0000 |
| commit | 3d7e9915c4fab6f91f11b3de66ac8bbcb8b3c0c7 (patch) | |
| tree | 7b9e58acf61adedef9c9f50600bde91a75e10075 /HsBot/Base | |
| parent | 80ff91aa5d6cda6adc1c97dc39b950dd7daed9d5 (diff) | |
git-svn-id: https://ssl.buetow.org/repos/hsbot/trunk@51 9f8f72e9-4bf4-416e-b76e-7d4203597157
Diffstat (limited to 'HsBot/Base')
| -rw-r--r-- | HsBot/Base/Env.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/HsBot/Base/Env.hs b/HsBot/Base/Env.hs index 58b2347..36fafd5 100644 --- a/HsBot/Base/Env.hs +++ b/HsBot/Base/Env.hs @@ -3,7 +3,8 @@ module HsBot.Base.Env where import HsBot.Base.Conf import HsBot.Base.State -type Dispatch = String -> (String -> IO ()) -> Env -> IO Env +type SendMessage = String -> IO () +type Dispatch = String -> SendMessage -> Env -> IO Env data Env = DispatchEnv State Conf Dispatch | Env State Conf castEnv :: Env -> Env |
