summaryrefslogtreecommitdiff
path: root/Env.hs
diff options
context:
space:
mode:
authorpb <pb@9f8f72e9-4bf4-416e-b76e-7d4203597157>2010-03-16 20:54:13 +0000
committerpb <pb@9f8f72e9-4bf4-416e-b76e-7d4203597157>2010-03-16 20:54:13 +0000
commite439488acb7e8a71703f8cb3d4e70340652359d3 (patch)
tree9921fb8a419f47b269f6ef1c1a56a157c939639a /Env.hs
parentd3dc3957e68ea83e348897b3b9d6fe3e280b5d11 (diff)
git-svn-id: https://ssl.buetow.org/repos/hsbot/trunk@33 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 29963b3..30c005d 100644
--- a/Env.hs
+++ b/Env.hs
@@ -4,7 +4,7 @@ import Conf
import State
type Dispatch = String -> (String -> IO ()) -> Env -> IO ()
-data Env = Env State Conf Dispatch
+data Env = Env State Conf Dispatch | EnvWoDispatch State Conf
envGetInt :: String -> Env -> Int
envGetInt key (Env _ conf _) = getUnwrappedInt key conf