summaryrefslogtreecommitdiff
path: root/Env.hs
diff options
context:
space:
mode:
authorpb <pb@9f8f72e9-4bf4-416e-b76e-7d4203597157>2010-03-16 20:56:57 +0000
committerpb <pb@9f8f72e9-4bf4-416e-b76e-7d4203597157>2010-03-16 20:56:57 +0000
commitdf5f62ab71f56722bdeca8e77c78ab1d7aeeeb24 (patch)
treebf61bdf59577ba93e77fbbfb22c7db65951ed7da /Env.hs
parente439488acb7e8a71703f8cb3d4e70340652359d3 (diff)
git-svn-id: https://ssl.buetow.org/repos/hsbot/trunk@34 9f8f72e9-4bf4-416e-b76e-7d4203597157
Diffstat (limited to 'Env.hs')
-rw-r--r--Env.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Env.hs b/Env.hs
index 30c005d..a914dab 100644
--- a/Env.hs
+++ b/Env.hs
@@ -4,11 +4,11 @@ import Conf
import State
type Dispatch = String -> (String -> IO ()) -> Env -> IO ()
-data Env = Env State Conf Dispatch | EnvWoDispatch State Conf
+data Env = DispatchEnv State Conf Dispatch | Env State Conf
envGetInt :: String -> Env -> Int
-envGetInt key (Env _ conf _) = getUnwrappedInt key conf
+envGetInt key (DispatchEnv _ conf _) = getUnwrappedInt key conf
envGet :: String -> Env -> String
-envGet key (Env _ conf _) = getUnwrapped key conf
+envGet key (DispatchEnv _ conf _) = getUnwrapped key conf